Professional Documents
Culture Documents
Numerical Methods One Step Method
Numerical Methods One Step Method
Objective
Background
The value of y can be solved by integrating numerically, where the next value of y is given by
yi+1 = yi + ϕh
1st derivative provides direct estimate of slope at xi and this slope, ϕ = f (xi, y i)
yi+1 = yi + ϕh
ϕh
yi ϕ
xi x i+1
for x = 0 to x = 4
and h =0.5
yi+1
x f(xi,yi) yi yi+1 (EXACT)
0.0 8.50 1 1 1
0.5 1.25 5.250 3.21875
1.0 -1.50 5.875 3
1.5 -1.25 5.125 2.21875
2.0 0.50 4.500 2
2.5 2.25 4.750 2.71875
3.0 2.50 5.875 4
3.5 -0.25 7.125 4.71875
4.0 -7.50 7.000 3
The first column in the table is the value of x, incrementally stepped by a step value of h. In this case h=
0.5. The third column yi is an initial value of y assigned as 1 for iteration purposes. This procedure is
repeated with the next value of y