Professional Documents
Culture Documents
Assignment 1
Assignment 1
Assignment 1
Assignment 4 _1
Compute y(0.2) with h = 0.1 using Euler method. If the exact solution at 0.2 is=
1.040402, find the magnitudes of the actual errors for y(0.2).
2 For the following initial value problem, obtain approximations to y(0.2) and y(0.4),
using the modified Euler method and the Heun’s method with h = 0.2.
y 2 xy 2 , y 0 1.
1
y x
Compare the numerical solutions with the exact solution 1 x2 .
3 Given
y ′ = x3 + y, y(0) = 2,
compute y(0.2), y(0.4) and y(0.6) using the Runge-Kutta method of fourth order (using
h= 0.2).
4 Find the approximate value of y(0.4) using the Adams-Bashforth method of fourth order
for the initial value problem
y ′ = x + y2, y(0) = 1 with h = 0.1.
Calculate the starting values using the Euler’s method with the same step length.
5 Given
y ′ = x3 + y, y(0) = 2,
the values y(0.2) = 2.073, y(0.4) = 2.452, and y(0.6) = 3.023 are got by Runge-Kutta
method of fourth order.