Lorenz Equations with Python
import matplotlib.pyplot as plt
import numpy as np
vSigma = 10
vBeta = 8/3
vRho = 28
def f1(t,x,y,z):
f1 = vSigma*y - vSigma*x
return f1
def f2(t,x,y,z):
f2 = vRho*x - y - x*z
return f2
def f3(t,x,y,z):
f3 = -vBeta*z + x*y
return f3
print("Sample input: lorenzEquation(0,20,200,5,5,5)")
def lorenzEquation(first,second,N,alpha1,alpha2, alpha3):
...
Monday, May 29, 2017
Saturday, May 27, 2017
Regula Falsi Or Method of False Position with Python

Regula Falsi or Method of False Position
The regula falsi method iteratively determines a sequence of root enclosing intervals, (an,bn), and a sequence of approximations, which shall be denoted by pn. Similar to the bisection method, the root should be in ther interval...
Regula Falsi or Method of False Position with Scilab

Regula Falsi or Method of False Position
The regula falsi method iteratively determines a sequence of root enclosing intervals, (an,bn), and a sequence of approximations, which shall be denoted by pn. Similar to the bisection method, the root should be in ther interval...
Thursday, May 25, 2017
Bisection Method with Python

The Bisection Method
Suppose f is a continuous function defined on the interval [a,b], with f(a) and f(b)
of opposite sign. The Intermediate Value Theorem implies that a number p exists in (a, b)
with f(p)=0. Although the procedure will work when there is more...
Tuesday, May 16, 2017
Bisection Method with Scilab

The Bisection Method
Suppose f is a continuous function defined on the interval [a,b], with f(a) and f(b)
of opposite sign. The Intermediate Value Theorem implies that a number p exists in (a, b)
with f(p)=0. Although the procedure will work when there is more...
Saturday, May 13, 2017
Integrating PrimeNG with Angular CLI

1.) Install the dependency, and save it to your project:
npm install primeng --save
npm install font-awesome --save
Once that is installed, you’ll have a ./node_modules/primeng/ directory (and a ./node_modules/font-awesome/ directory)
2.) In your project folder there is a file called styles.css,...
Saturday, October 8, 2016
Present and Accumulated Values of an Annuity-Immediate
Problem 15.1
Consider an investment of 5,000at6Solution.5,000=Xa¯40|0.03⟹X=216.31Problem15.2Theannualpaymentonahouseis18,000. If payments are made for 40
years, how much is the house worth assuming annual interest rate of 6%?
Solution....
Subscribe to:
Posts (Atom)