Professional Documents
Culture Documents
Lecture-1
1
Specific aims
Applications
Introduction of IVP
Examples
Multiple questions
Exercises
2
Applications
Science and Engineering
Introduction of IVP
Problems in which all the initial conditions are specified at one
point only are called initial value problem (IVP).
……………………….(2)
Or
……………………….(3) [around x0=0]
Where is the value of at
Thevalues of the derivatives can be found by differentiating
repeatedly and substituting and
The method can also be used for higher order differential
equations. 4
Euler’s Method
Consider the first order and first degree ordinary differential
equation with the initial condition
……………………….(4)
or equivalently
5
Alternatively, integrating Eq.(4) from x0 to x1 with respect to x, we have
or
……………………….(5)
6
Modified Euler’s Method
Consider the first order and first degree ordinary differential
equation with the initial condition
……………………….(6)
7
An iterative formula to the above equation can be taken as
……………………….(7)
8
Examples
Question 1#: From the Taylor’s series for , find correct to four decimal
places if satisfies , where .
Solution:
Here, and . Taylor’s series for is given in Eq. (3) as follows:
Or
[S]
9
The derivatives are obtained thus:
𝑦 ′ (𝑥 )=𝑥 − 𝑦2
𝑦 ′ ′ ( 𝑥)=1 −2 𝑦𝑦 ′
𝑦 ′ ′ ′ ( 𝑥 ) =−2 𝑦𝑦 ′ ′ −2( 𝑦 ′ )2
𝑦 𝑣 ( 𝑥 ) =−2 ′𝑣 ′ ′′ ′ ′ ′ ′′ ′′ 2
𝑦𝑦 − 2 𝑦 𝑦 − 6 𝑦 𝑦 −6 ( 𝑦 )
¿ −2 ′𝑣 ′′ 2 ′ ′′ ′
𝑦𝑦 − 8 𝑦 𝑦 − 6 𝑦 )
(
10
Using these values, the Taylor series becomes
Answer: 0.9135 11
Question 2#: Given that , where .
Estimate the values of using Euler’s method with
step size .
Solution:
Here
and , h=0.1.
Euler’s method:
[Using Eq. (5)]
For n=0,
12
For n=1,
[Since
Answer: 0.8262
13
Question 3#: Solve by Modified Euler’s method the following
differential equation for with step size h=0.05
, where .
Solution: Here
and , h=0.05,
[r=1]
14
For n=0, r=1,
15
Again,
[For n=1]
16
It is clear that
Now we can take .
[For r=2]
[For n=0]
17
[For n=1]
[For n=2]
18
[For n=3]
It is clear that
Answer: 1.10559
19
Outcomes
Solved problems numerically to obtain approximate solutions
of ODE by using Taylor series, Euler’s and Modified Euler’s
Methods.
20
Multiple questions:
S.No. Questions
1 Which rule is used for getting Modified Euler’s method-
(a) Newton-Raphson method, (b) Trapezoidal rule, (c) Fixed point method
2 Taylor series can be expresses as follows:
(a)
(b)
3 Euler method can be written by-
3 (a)
(b)
(c)
21
Try to do yourself
Reference
[1] Applied Numerical Methods With Matlab for Engineers and Scientists ( Steven
C.Chapra).
22