Professional Documents
Culture Documents
Module 15A
Module 15A
MODULE-15A
Numerical solutions of linear and non-linear algebraic equations
Integration by trapezoidal and Simpson’s rule, single and multi-step
methods for differential equations.
To find the roots of equation f(x) =0, we start with a known approximate
solution and apply any of following methods.
(1). Bisection method: This method consists of locating the root of the equation
f(x)=0 between a and b. If f(x) is continuous between a and b, and f(a) and f(b) are of
opposite signs then there is a root between a and b.
.
.
JH ACADEMY Page 1
SUB: MATHEMATICS MODULE-15A
If now f( ) and f( ) are of opposite signs, then the root lies between and
.So replacing by we obtain the next approximation . This procedure is
repeated till the root is found to desired accuracy.
by Taylor’s Series
In general,
JH ACADEMY Page 2
SUB: MATHEMATICS MODULE-15A
Let
Taking ⁄
⁄
( )
⁄
Let x=√ or
( )
( )
JH ACADEMY Page 3
SUB: MATHEMATICS MODULE-15A
* +
Numerical Integration:
For
……
=b. Then
∫ ∫
∫* +
JH ACADEMY Page 4
SUB: MATHEMATICS MODULE-15A
∫ * ( )
* + ]
* ( )
* + ]
Trapezoidal Rule:
Putting n=1 the curve become straight line i.e. a polynomial of first order so that
differences of order higher than first becomes zero we get
∫ [ ] [ ]
Similarly ∫ * +
∫ [ ]
JH ACADEMY Page 5
SUB: MATHEMATICS MODULE-15A
Simpson’s Rule:
∫ * ( ) +
Substituting
∫ [ ( ) ]
[ ]
[ ] [ ]
Similarly
∫ [ ]
∫
[ ]
∫ [ ]
JH ACADEMY Page 6
SUB: MATHEMATICS MODULE-15A
as a polynomial of third order so that differences above the third order vanish, we
get
∫ [
( )
( ) ]
[ ]
[( ) ( ) ( ) ]
[ ]
[ ]
[ ]
∫ [ ]
Adding all
∫ [
JH ACADEMY Page 7
SUB: MATHEMATICS MODULE-15A
A first order initial value problem IVP is defined as a first order differential
equation together with specified initial condition at :
∫ ∫
JH ACADEMY Page 8
SUB: MATHEMATICS MODULE-15A
The IVP gives the solution at initial point . For given step size h, the
solution at +h can be computed from Taylor’s series as
[ ]
Substituting these derivatives and truncating the series gives the approximate
solution at
Euler’s method:
JH ACADEMY Page 9
SUB: MATHEMATICS MODULE-15A
Better estimate for the solution than Euler method as expected if average slope
over the interval is used instead of slope at a point. This is being used in
modified Euler method. The solution is approximated as a straight line in the interval
with slope as arithmetic average at the beginning and end point of the interval.
According is approximated as
( )
[ ]
We repeat this step, till two consecutive values of y agree. This then taken as
the starting point for the next interval. So this method is predictor-corrector method.
JH ACADEMY Page 10