Numerical Methods
Numerical Methods
HOMEWORK 9
x 0 1 2 3 4
x
e 1 2.718 7.389 20.0856 54.598
Use Romberg integration and the above table of values to approximate I. That
is, compute R(2, 2).
1 h 2 f x Ic h Gh csh
20 h z h f x c h Gh Icsh
f x c h c h Csh
f x ah Csh
f x 01h3
2 h f x ash 94h
E f x ach't to94h4
en f x 0 h as h 94h och
In adchi co E
W7 S lien en och's
a 0 h c 1 f x a ach t at to a 4h
o gtc
fate a 1 19
In ash É a4h
l En en l I at h och's
em i i a in
So in 4 ch 540 t is a goodestimate
f
3 By THM Sba fix dx ÉÉn Etcb a f is
gg Lsinc8il sinE
a 1 b 2 h 0.01 me 811 1
So let 1 21 1 1 1 2.5 10 5
flo 2 f 2 f 4
2 2 22 24
25
R 2 0 421 Itp 44
2 21 22 234 24
22.5
22.5 2.5
21.67
6 S fix dx f 1 4 f 1 v5 2 11 5 4 f 1.75 f 2
0.5
P Xo Xoth 2h and 73 X Pa X EP
let f x P3 X P2 X
f fix dx f Xo 4 Xo h fixotan
By Simpson's rule
0 4.0 to 0
So S psex dx 5 Pax dx
8 I f co f x 4 f É it f It z f É
I 1 1 4 1 2.0
call 8 cos 2c 1 8
1 7 1
error 1 É 1 81 0
017
9 210 0
111 4 0 2 1 54.598 111 196
R 1,0 R o o 4 f 2 111.196 2 7 389 70 376
R 2,0 R 1,0 f 1 f3 x 70.376 2 718 20086 57 992
R 1 1 R 110 k 1,0 210,07 56 77
R 2 1 2,01 R 2,0 R 1,01 53 864