Numerical Solution of Ordinary Differential Equations: With Initial Condition
Numerical Solution of Ordinary Differential Equations: With Initial Condition
The general solution of is a relation between , and arbitrary constants which satisfies the
equation and is of the form:
If particular values of are given, then becomes a particular solution. (for this to be
obtained, conditions must be given).
Solution of first degree, first order ODE.
General form:
- -------------
With initial condition
B. Implicit Methods
Equation for has the form where is unknown.
RHS is non-linear. Therefore the equation must be solved for using suitable numerical
methods.
NB: Implicit Methods give better accuracy over explicit methods at the expense of additional effort.
NB: The method is applicable only when the derivatives of exist and the value of is small
enough so that the series converges.
An order Taylor series method uses order truncated Taylor series expansion. For example,
order Taylor Series method is:
Procedure
First is obtained by unmodified Euler’s formula
Similarly,
The modified formula is iterated until convergence is achieved i.e. the condition ,
is satisfied, where is a very small arbitrary value selected depending on the level of accuracy
desired.
IV. Runge-Kutta,
Fourth order Runge-Kutta method
Let ,
and the initial values. Then,
Where,
The fourth order Runge-Kutta method is most commonly used and is known as Runge-Kutta method
only.
Working rule
To solve , , calculate , ,
, and .
where,
Exercises
1) Use 5th degree Taylor method to solve with when and find the value of
and with .