Beruflich Dokumente
Kultur Dokumente
Physical Law
Mathematical Expression
dv F
dt m
dT
q k
dx
VL L
di
dt
The above laws define mechanism of change. When combined with continuity laws for
energy, mass or momentum, differential equation arises. The mathematical expression in
the above table is an example of the Conversion of a Fundamental law to an Ordinary
Differential Equation. Subsequent integration of these differential equations results in
mathematical functions that describe the spatial and temporal state of a system in terms of
energy, mass or velocity variations. In fact, such mathematical relationships are the basis
of the solution for a great number of engineering problems. But, many ordinary
differential equations arising in real-world applications and having lot of practical
significance cannot be solved exactly using the classical analytical methods. These ode
can be analyized qualitatively. However, qualitative analysis may not be able to give
accurate answers. A numerical method can be used to get an accurate approximate
solution to a differential equation. There are many programs and packages available for
solving these differential equations. With today's computer, an accurate solution can be
obtained rapidly. In this chapter we focus on basic numerical methods for solving initial
value problems.
Analytical methods, when available, generally enable to find the value of y for all
values of x. Numerical methods, on the other hand, lead to the values of y corresponding
only to some finite set of values of x. That is the solution is obtained as a table of values,
1.
dy
f ( x, y ), y ( x0 ) y0 . Let us approximate the exact solution y(x)
dx
to a power series in ( x x0 ) using Taylors series. The Taylors series expansion of y(x)
Consider an IVP
( x x0 ) /
( x x0 ) 2 //
( x x0 ) 3 ///
( x x0 ) 4 / V
y ( x0 )
y ( x0 )
y ( x0 )
y ( x0 )
1!
2!
3!
4!
(1)
dy
From the differential equation, we have y / ( x)
f ( x, y ) . Differentiating this
dx
successively, we can get y // ( x), y /// ( x), y / V ( x), etc. Putting x x0 and y y 0 , the values
y ( x) y ( x0 )
of y // ( x0 ), y /// ( x0 ), y / V ( x0 ), etc. can be obtained. Hence the Taylors series (1) gives the
values of y for every value of x for which (1) converges.
On finding the value of y1 for x x1 from (1), y // ( x), y /// ( x), y / V ( x), etc. can be evaluated
at x x1 from the differential equation
Problems:
1. Find by Taylors series method the value of y at x = 0.1 and 0.2 five places of decimals
dy
for the IVP
x 2 y 1, y (0) 1 .
dx
Solution:
Given x0 0, y 0 1 and f ( x, y ) x 2 y 1
Taylors series expansion about the point x 0( x0 ) is
( x 0) /
( x 0) 2 //
( x 0) 3 ///
( x 0) 4 / V
y ( 0)
y ( 0)
y ( 0)
y (0)
1!
2!
3!
4!
x 2 //
x 3 ///
x 4 /V
y ( x) y (0) xy / (0)
y ( 0)
y ( 0)
y (0)
2
6
24
y ( x ) y ( 0)
i.e.
It is given that
dy
y / ( x) x 2 y 1
dx
(1)
y ( 0) 1
y / (0) 1
y // ( x) 2 xy x 2 y /
y // (0) 0
y /// ( x) 2 y 4 xy / x 2 y //
y /// (0) 2
y iv ( x) 6 y / 6 xy // x 2 y ///
y iv (0) 6
Putting the values of y (0), y / (0), y // (0), y /// (0), y iv (0) in (1), we get
x2
x3
x4
( 0)
( 2)
(6)
2
6
24
x3 x4
y ( x) 1 x
3
4
y ( x) 1 x(1)
2. Employ Taylors series method to obtain approximate value of y at x = 0.1 and 0.2 for
dy
the differential equation
2 y 3e x , y (0) 0. Compare the numerical solution
dx
obtained with the exact solution.
Solution:
Given x0 0, y 0 0 and f ( x, y ) 2 y 3e x
Taylors series expansion about the point x 0 is
y ( x) y (0) xy / (0)
x 2 //
x 3 ///
x 4 /V
y ( 0)
y ( 0)
y (0)
2
6
24
It is given that
dy
y / ( x) 2 y 3e x
dx
(2)
y ( 0) 0
y / (0) 2 y (0) 3e 0 3
y // ( x) 2 y / 3e x
y // (0) 2 y / (0) 3 9
y /// ( x) 2 y // 3e x
y iv ( x) 2 y /// 3e x
Putting the values of y (0), y / (0), y // (0), y /// (0), y iv (0) in (2), we get
9 2 21 3 45 4
x
x
x
2
6
24
9
7
15
3x x 2 x 3 x 4
2
2
8
y ( x) 0 3x
Hence,
y(0.1) = 3(0.1)+4.5(0.1)2+3.5(0.1)3+1.875(0.1)4
= 0.3486875
and
y(0.2) = 3(0.2)+4.5(0.2)2+3.5(0.2)3+1.875(0.2)4
= 0.8110.
Exact Solution:
The given differential equation can be written as
dy
2 y 3e x which is Leibnitzs linear
dx
differential equation.
2dx
Its I.F. is I.F = e e 2 x
y 3e x ce 2 x
(3)
Numerical
Exact
Absolute
Error Value
0.1
0.3486875
0.348695
0. 75x10 -5
0.2
0.8110
0.811266
0. 266x10 -3
dy
x 2 y,
dx
x 2 //
x 3 ///
x 4 /V
y ( 0)
y ( 0)
y (0)
2
6
24
y ( 0) 0
It is given that
dy
y / ( x) x 2 y
dx
y / (0) (0) 2 1 1
y // ( x) 2 x y /
y /// ( x) 2 y //
y iv ( x) y ///
Putting the values of y (0), y / (0), y // (0), y /// (0), y iv (0) in (4), we get
y ( x) 1 x
x2 x3 x4
2
6 24
Hence,
y (0.1) 1 (0.1)
2
6
24
= 0.9051625
y ( 0 .2 ) 1 ( 0 .2 )
= 0.8212667.
( 0 .2 ) 2 ( 0 .2 ) 3 ( 0 .2 ) 4
2
6
24
(4)
y (0.3) 1 (0.3)
2
6
24
= 0.7491625.
y ( 0 .4 ) 1 ( 0 .4 )
( 0 .4 ) 2 ( 0 .4 ) 3 ( 0 .4 ) 4
2
6
24
= 0.6896.
Exact Solution:
The given differential equation can be written as
dy
y x 2 a linear differential
dx
equation.
dx
Its I.F. is I.F = e e x
y ( x 2 2 x 2) ce x
(5)
y(0.1) = 0.9051625,
y(0.2) = 0.8212692,
y(0.3) = 0.7491817 and
y(0.4) = 0.6896799
Numerical
Exact
Absolute
Error Value
0.1
0.9051625
0.9051625,
0.2
0.8212667
0.8212692,
0. 25x10 -5
0.3
0.7491625
0.7491817
0. 192x10 -4
0.4
0.6896
0.6896799
0. 799x10 -4
Assignments:
1. Use Taylors series method to find an approximate value of y at x = 0.1 of the IVP
dy
Answer : 0.9138
x y 2 , y ( 0) 1
dx
2. Evaluate y(0.1) correct to six decimal places by Taylors series method if y(x) satisfies
Answer : 1.1053425
y / xy 1, y (0) 1
dy
x y2,
dx
and y(0.2)
3. Solve
2.
y (0) 1 at the
Answer : 1.243
dy
f ( x, y ), y ( x0 ) y0 . The following two methods can be used to
dx
determine the solution at a point x x n x0 nh .
Eulers Method :
y nE1 y n hf ( x n , y n ),
n 0,1,2,3,
(1)
h
f ( x n , y n ) f ( x n 1 , y nE1 ) ,
2
n 0,1,2,3,
(2)
Remark:
1. The formulae (1) and (2) are also known as Eulers Predictor Corrector formula.
2. When Modified Eulers method is applied to find the solution at a give point, we
first find the solution at that point by using Eulers method and the same will be
used in the calculation of Modified Eulers method. Also Modified Eulers
method has to be applied repeatedly until the solution is stationary.
Problems :
dy
y2
Solution :
Analytical solution is : dy
dx
2
1 x
y
1
log(1 x) c
y
( 0 .9 ) 2
0.82636
y 2 y (0.2) 0.9 0.1
1 0 .1
y2
Now taking h = 0.05, Eulers method is y n 1 y n 0.05 n
1 xn
(1) 2
0.95
y1 y (0.05) 1.0 0.05
1 0
(0.95) 2
0.90702
y 2 y (0.1) 0.95 0.05
1 0.05
(0.90702) 2
0.86963
y 3 y (0.15) 0.90702 0.05
1 0 .1
(0.86963) 2
0.83675
y 4 y (0.2) 0.86963 0.05
1 0.15
Eulers Formula is y n 1
y n2
y n 0.05
1 xn
, n = 0,1,2 and 3
y2
yE
y n 0.025 n n 1 , n = 0,1,2 and 3
1 x n 1 x n 1
(1) 2
0.95
y1E y (0.05) 1.0 0.05
1 0
From Modified Eulers formula, we have
(1) 2 (0.95) 2
0.95351
y1(1) y (0.05) 1.0 0.025
1 0 1 0.05
(1) 2 (0.95351) 2
0.95335
y1( 2 ) y (0.05) 1.0 0.025
1 0.05
1 0
(1) 2 (0.95335) 2
0.95336
y1(3) y (0.05) 1.0 0.025
1 0.05
1 0
(1) 2 (0.95336) 2
0.95336
y1( 4 ) y (0.05) 1.0 0.025
0
1
0
.
05
(0.95336) 2
y y (0.1) 0.95336 0.05
1 0.05
From Modified Eulers formula, we have
E
2
0.91008
(0.95336) 2 (0.91008) 2
0.91286
y 2(1) y (0.1) 0.95336 0.025
1 0.1
1 0.05
(0.95336) 2 (0.91286) 2
0.91278
y 2( 2 ) y (0.1) 0.95336 0.025
1 0.1
1 0.05
(0.95336) 2 (0.91278) 2
y 2( 2 ) y (0.1) 0.95336 0.025
1 0 .1
1 0.05
0.91278
(0.91278) 2
0.87491
y 3E y (0.15) 0.91278 0.05
1 0 .1
From Modified Eulers formula (for n = 2), we have
(0.91278) 2 (0.87491) 2
0.87720
y 3(1) y (0.15) 0.91278 0.025
1 0.15
1 0 .1
(0.91278) 2 (0.87720) 2
0.87712
y 3( 2 ) y (0.15) 0.91278 0.025
1 0.15
1 0 .1
(0.91278) 2 (0.87712) 2
y 3(3) y (0.15) 0.91278 0.025
1 0.15
1 0 .1
0.87712
(0.87712) 2 (0.84367) 2
0.84557
y y (0.2) 0.87712 0.025
1 0.2
1 0.15
(0.87712) 2 (0.84557) 2
0.84550
y 4( 2 ) y (0.2) 0.87712 0.025
1 0.2
1 0.15
(1)
4
( 2)
4
(0.87712) 2 (0.84550) 2
y (0.2) 0.87712 0.025
1 0 .2
1 0.15
0.84550
2. Solve the following IVP by Eulers modified method at 0.2 x 0.8 with h = 0.2:
dy
log10 ( x y ), y (0) 2 .
dx
Solution:
Given Data is : x0 0, y 0 2, h 0.2 and f ( x, y ) log10 ( x y )
To Find:
& y 4 y ( x 4 ) y (0.8)
Stage I: Finding y1 = y(0.2)
From Eulers formula (for n = 0),
y1E y (0.2) 2.0 0.2 log10 0 2 2.0602
xn
yn
0.2
y1 y (0.2) 2.0656
0.4
y 2 y (0.4) 2.1416
0.6
y 3 y (0.6) 2.2272
0.8
y 4 y (0.8) 2.3217
dy
sin x cos y, y (2.5) 0
dx
at x = 3.5 in two steps, modifying the solution thrice at each stages. Here x is in
radians.
Solution:
Given x0 2.5, y 0 0, h 0.5 and f ( x, y ) sin x cos y
To Find:
4. Using modified Eulers method obtain the solution of the differential equation
dy
x y with the initial condition y = 1 at x = 0 for the range 0 < x 0.6 in
dx
steps of 0.2.
Solution:
Given x0 0, y 0 1, h 0.2 and f ( x, y ) x
To Find:
y n hf ( x n , y n )
Y2 f ( x n 1 , y n 1 )
0.2 1
1.2
0.4 1.3094
1.4927
0.6 1.6350
1.8523
1.2954
1.3088
1.3094
1.6218
1.6345
1.6350
1.9610
1.9729
1.9734
Y1 f ( x n , y n )
y n 1 y n
h
Y1 Y2
2
1.2295
1.2309
1.2309
1.5240
1.5253
1.5253
1.8849
1.8861
1.8861
Assignments :
1. Use Modified Eulers method to find an approximate value of y at x = 0.3, in three
dy
steps, of the IVP
Answer : 1.1105,1.2432,1.4004
x y , y ( 0) 1 .
dx
2. Evaluate y at x=1.2 and x=1.4 by Eulers modified method if y(x) satisfies
dy
y
1 , y (1) 2 . Compare the numerical solution with the analytical solution.
dx
x
Answer : 2.6182, 3.2699
dy
3. Compute y(0.2) for the IVP
xy 2 , y 2 at x 0 using Eulers modified method
dx
in two steps.
Answer : 1.9227
3.
dy
2 xy , y (1) 1 at the
dx
Answer : 5.051
dy
x y 2 , y (0) 1 at the point x=0.5.
dx
Answer : 2.2352
The Taylors series method to solve IVPs is restricted by the difficulty in finding the
higher order derivatives. However, Runge Kutta method do not require the calculations
of higher order derivatives. Eulers method and modified Eulers method are
Runge Kutta methods of first and second order respectively.
dy
f ( x, y ), y ( x0 ) y0 . Let us find the approximate value of y at
dx
x x n 1 , n = 0,1,2,3,.. of this numerically, using Runge Kutta method, as follows:
First let us calculate the quantities k1 , k 2 , k 3 and k 4 using the following formulae.
k1 hf ( x n , y n )
k
h
k 2 hf x n , y n 1
2
2
k
h
k 3 hf x n , y n 2
2
2
k 4 hf x n h, y n k 3
Finally, the required solution y is given by
y n 1 y n
1
k1 2k 2 2k 3 k 4
6
Problems:
1. Apply Runge Kutta method, to find an approximate value of y when x = 0.2 given
dy
that
x y , y ( 0) 1 .
dx
Solution:
Given: x0 0, y 0 1, h 0.2 and f ( x, y ) x y
1
k1 2k 2 2k 3 k 4
6
-------- (1)
Now
k1 hf ( x0 , y 0 ) 0.2 [0 1]
= 0.2
h
0 .2 0 .2
k 2 hf x0 , y 0 1 0.2 0
= 0.2400
1
2
2
2
2
h
0.2 0.24
k 3 hf x0 , y 0 2 0.2 0
1
= 0.2440
2
2
2
2
= 0.2888
dy y 2 x 2
,
dx y 2 x 2
y (0) 1 at x = 0.2
& 0.4.
Solution:
Given: x0 0, y 0 1, h 0.2 and f ( x, y )
y2 x2
y2 x2
1
k1 2k 2 2k 3 k 4
6
k1 hf ( x0 , y 0 ) 0.2 f (0,1)
k
h
k 2 hf x0 , y 0 1 0.2 f 0.1,1.1
2
2
k
h
k 3 hf x0 , y 0 2 0.2 f 0.1,1.0936
2
2
= 0.2
= 0.19672
= 0.1967
-------- (2)
k 4 hf x0 h, y 0 k 3 0.2 f 0.2,1.1967
= 0.1891
1
0.2 2(0.19672) 2(0.1967) 0.1891
6
= 1+0.19599
= 1.19599
Hence the required approximate value of y is 1.19599.
Stage II: Finding y 2 y (0.4)
We have x1 0.1, y1 1.19599 and h 0.2
R K method (for n = 1) is: y 2 y (0.4) y1
1
k1 2k 2 2k 3 k 4
6
k
h
-------- (3)
= 0.1891
= 0.1795
= 0.1793
= 0.1688
y 2 y (0.4) 1.19599
= 1.37519
Hence the required approximate value of y is 1.37519.
3. Apply Runge Kutta method to find an approximate value of y when x = 0.2 with
dy
y
h = 0.1 for the IVP
3 x , y (0) 1 . Also find the Analytical solution and
dx
2
compare with the Numerical solution.
Solution:
Given: x0 0, y 0 1, h 0.1 and f ( x, y ) 3 x
Stage I: Finding y1 y (0.1)
R K method (for n = 0) is: y1 y (0.1) y 0
y
2
1
k1 2k 2 2k 3 k 4
6
k1 hf ( x0 , y 0 ) 0.1 f (0,1)
-------- (4)
= 0.05
k
h
k
h
k
h
= 0.06625
= 0.0666563
= 0.0833328
y1 y (0.1) 1.0
= 1.0665242
Hence the required approximate value of y is 1.0665242.
Stage II: Finding y 2 y (0.2)
We have x1 0.1, y1 1.0665242 and h 0.1
R K method (for n = 1) is: y 2 y (0.2) y1
1
k1 2k 2 2k 3 k 4
6
k
h
= 0.0833262
= 0.1004094
= 0.1008364
= 0.1183680
-------- (5)
dy y
3 x which is a linear equation whose solution is:
dx 2
x
2
y 6 x 12 13e .
The Exact solution at x = 0.1 is y(0.1) = 1.0665242 and at x = 0.2 is y(0.2) = 1.1672218
Both the solutions and the error between them are tabulated as follows:
x
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
xn
yn
(Exact)
yn
(Numerical)
Absolute
Error
0.1
1.0665243
1.0665242
0.0000001
0.2
1.1672219
1.1672218
0.0000001
y
y
(Exact)
(Numerical)
1.0665243 1.0665242
1.1672219 1.1672218
1.3038452 1.3038450
1.4782359 1.4782357
1.6923304 1.6923302
1.9481645 1.9481643
2.2478782 2.2478779
2.5937211 2.5937207
2.9880585 2.9880580
3.4333766 3.4333761
Assignments:
1. Apply Runge Kutta method to compute an approximate value of y (0.2) and y(0.4), by
dy
taking h = 0.1 for the IVP 10
Answer: 1.0207, 1.0438
x 2 y 2 , y ( 0) 1 .
dx
2.Use Runge Kutta method to find y when x = 0.2 in steps of 0.1 for the differential
dy y x
equation
Answer: 1.0911278, 1.1678430
, y ( 0) 1
dx y x
dy
3. Solve
( y x) , y (0.4) 0.41 by Runge Kutta method at x = 0.8 in two steps.
dx
Answer: 0.6103476, 0.8489914
4.Using Runge Kutta method, find an approximate value of y for x = 0.2 in steps of 0.1
dy
if
Answer: 1.1165, 1.2736
x y 2 , given that y = 1 when x = 0,
dx
Multi-step Methods:
To solve a differential equation over an interval (xn, xn+1), using previous single-step
methods, only the values of y at the beginning of interval is required. However, in the
following methods, four prior values are needed for finding the value of yn+1 at a given
value of x. Also the solution at yn+1 is obtained in two stages. This method of refining an
initially crude estimate of yn+1 by means of a more accurate formula is known as
PredictorCorrector method. A Predictor Formula is used to predict the value of yn+1
and then a Corrector Formula is applied to calculate a still better approximation of yn+1.
Now we study two such methods namely (i) Milnes method and (ii) Adams Bashforth
method.
Given
y ( x3 ) y ( x0 3h) y 3
4h
2 f1 f 2 2 f 3
3
Then we compute f 4 f ( x 4 , y 4( P ) )
II Stage : Corrector Method
h
f2 4 f3
3
4
f
y 4( C ) y 2
Then, an improved value of f4 is computed and again, corrector formula is applied to find
a better value of y4. We repeat the step until y4 remains unchanged.
Given
f 3 f ( x 3 , y 3 ) . Now, the
h
55 f 0 59 f 1 37 f 2 9 f 3
24
h
9 f1 19 f 0 5 f 1 f 2
24
dy
x2 y2 ,
dx
y ( 0) 1
First, let us find the values of y at the points x = -0.1, x = 0.1 and x = 0.2 by using
Taylors series method for the given IVP.
Taylors expansion of y(x) about the point x = 0( = x0) is
y ( x) y (0) xy / (0)
x 2 //
x 3 ///
y ( 0)
y ( 0)
2
6
-------- (1)
Given
y / ( x) x 2 y 2
y // ( x) 2 x 2 yy /
y /// ( x) 2 2 yy // 2( y / ) 2
y / ( 0) 0 1 1
y // (0) 2 1 1 2
y /// (0) 2 4 2 8
Using the values of y(0), y/(0), y//(0) and y///(0) in (1), we get
y ( x) 1 x x 2
4x 3
3
y 4 y ( x 4 ) y (0.3)
0 .1
1.2449 (4 1.6043) 2.1596
3
y(0.3) = 1.43869
Hence, the approximate solution is y(0.3) = 1.43869
dy
x y 2 , y (0) 0 , y(0.2) = 0.02, y(0.4) = 0.0795 and y(0.6) = 0.1762.
dx
Compute y(1) using Milnes Method.
2. Given
Solution:
x0 0, y 0 0 and f 0 f ( x0 , y 0 ) 0
y 4 y ( x 4 ) y (0.8)
4h
2 f1 f 2 2 f 3
3
4 ( 0 .2 )
(2 0.1996) 0.3937 2 2 0.56895
3
= 0.30491
0
4
f
f2 4 f3
3
0 .2
0.3937 4 0.56895 0.7070
y (0.8) 0.0795
3
= 0.3046
y 4( C ) y (0.8) y 2
y 4( C )
0 .2
0.3937 4 0.56895 0.7072
3
y(0.8) = 0.3046
y 5 y ( x5 ) y (1.0)
4h
2 f 2 f 3 2 f 4
3
4 ( 0 .2 )
(2 0.3937) 0.56895 2 0.7072
3
= 0.45544
Now we compute f 5 f (1.0,0.45544) 0.7926
0.02
h
f3 4 f4 f5
3
y 5( C ) y (1.0) 0.56895
0 .2
0.56895 4 0.7072 0.7926
3
= 0.4556
Now f 5 f (1.0,0.4556) 0.7024
Again applying corrector formula with new f5, we get
0 .2
0.56895 4 0.7072 0.7924
y 5( C ,1) y (1.0) 0.56895
3
y(1.0) = 0.4556
dy
x 2 1 y , y (1) 1, y (1.1) 1.233, y (1.2) 1.548, y (1.3) 1.979 .Evaluate
dx
y(1.4) by Adams Bashforth method.
3. Given
Solution:
Given:
x 3 1, y 3 1 and f 3 2
y1 y ( x1 ) y (1.4)
h
55 f 0 59 f 1 37 f 2 9 f 3
24
(0.1)
(55 5.03451) (59 3.66912) (37 2.70193) (9 2)
24
= 2.57229
Now we compute f1 f (1.4,2.57229) 7.0017
II Stage : Corrector Method
y1( C ) y (1.4) y 0
h
9 f1 19 f 0 5 f 1 f 2
24
0 .1
(9 7.0017) (19 5.03451) (5 3.66912) 2.70193
24
y(1.4) = 2.57495
1.979
y(1.4) = 2.57514
4. Given
dy
x 2 y,
dx
Solution:
First, let us find the values of y at the points x = 0.1, x = 0.2 and x = 0.3 by using
Taylors series method for the given IVP.
Taylors expansion of y(x) about the point x = 0( = x0) is
y ( x) y (0) xy / (0)
x 2 //
x 3 ///
y ( 0)
y ( 0)
2
6
-------- (2)
Given
y / ( x) x 2 y
y // ( x) 2 x y /
y /// ( x) 2 2 y //
y / ( 0 ) 0 1 1
y // (0) 0 (1) 1
y /// (0) 2 1 1
Using the values of y(0), y/(0), y//(0) and y///(0) in (2), we get
y ( x) 1 x
x2 x3
2
3
x 3 0, y 3 1 and f 3 1
y 1 y ( x1 ) y ( 0 . 4 )
To Find :
I Stage : Predictor Method
h
y1( P ) y (0.4) y 0 55 f 0 59 f 1 37 f 2 9 f 3
24
(0.1)
55 (0.6592) 59 (0.7812) 37 (0.8951) 9 (1)
0.7492
24
= 0.6896507
Now we compute f1 f (0.4,0.6896507) 0.5296507
II Stage : Corrector Method
y1( C ) y (0.4) y 0
0.7492
h
9 f1 19 f 0 5 f 1 f 2
24
0 .1
9 (0.5297) 19 (0.6592) 5 (0.7812) 0.895125
24
y(0.4) = 0.6896522
Assignments:
1. Using Adams method find y(1.4) for the IVP x2y/ + xy = 1; y(1) = 1, y(1.1) = 0.996,
y(1.2) = 0.986, y(1.3) = 0.972.
dy
2. Given
0.5 xy ; y (0) 1 . Find y(0.4) using Adams Bashforth predictor
dx
corrector formulae.
3. Solve by Milnes predictor corrector method, the differential equation
dy
y x 2 with the following starting values : y(0) = 1, y(0.2) = 1.12186,
dx
y(0.4) = 1.4682, y(0.6) = 1.7379 to find the value of y when x = 0.8.
4. Using
Milnes
method,
obtain
the
solution
of
the
equation
1
y / 1 x 2 y 2 ; y (0) 1 at x = 0.4.
2
Answers : (1) 0.94934, (2) 1.0408, (3) 2.0111 & (4) 1.2797