Professional Documents
Culture Documents
Numerical Method - Finalt F 2014
Numerical Method - Finalt F 2014
.Take h=0.25.
Question 4. (8 points)
Use Runge Kutta method of order two to approximate the solution of the
initial value problem y '= (y2+y)/t where 1 ≤ t ≤ 3 and y(1)=-2 with h=0.5
The model Answer:
Question 1
Use Newton's method to approximate to within10 the root of the
-4
X 0 2 3
F(x) 1.0 9 27
X F(x)
0 3
2
2 5 2
4 1
4 9 3 3
7 4 10-
6 16 7 7-
14 -3
8 30 4
18
10 48
h=2,r=(.5-0)/2=0.25
f(0.5)=3+0.25*2+0.25*-0.75*2/2+0.25*-0.75*-1.75*1/6+0.25*-0.75*-
1.75*-2.75*3/24+0.25*-0.75*-1.75*-2.75*-3.75*-
10/120=3217/1024=2.972412109
h=2,r=(9.8-10)/2=-0.1
f(9.8)=48-0.1*18-0.1*0.9*4/2-0.1*0.9*1.9*-3/6-0.1*0.9*1.9*2.9*-7/24-
0.1*0.9*1.9*2.9*3.9*-10/120=46.411305
h=2,r=(4.3-4)/2=0.15
I=0.25(2.718282+24309.25178+4{5.9634165+37.41665+355.466217+5292.
790612}+2[14.231604+109.196300+1295.032062])/3=4159.619798
k1=0.5(-1.52-1.5)/1.5=0.25
k2=0.5(-1.252-1.25)/2=5/64
kave=21/128=0.1640625
y=-171/128=-1.3359375
k1=0.5((-171/128)2-171/128))/2=0.112197876
k2=0.05475980868
kave=0.08347884234
y=-1.252458658
k1=0.5(-1.2524586582--1.252458658)/2.5=0.0632388063
k2=0.03750400066
kave=0.05037140348
y=-1.202087254