re
1, (10) Based on the following table representing an unknown function f(x), do the
Quiz4 Numerical Method, 2020/6/11
Dy, Name:
following:
a. (4)Compute /"(2.4) using central-difference with #=0.1.
Yen) x Aeathy= Lach)
2h
Poa *
Od
O.04Ml2b = 0.01 OF
pee ee ee
$02,5+ F028)
F =D. P@l4
O42,
‘Table 55
Le
° 2 ame
tH Blame
2 Smee
3 Bones
Sosa
3 3S Gown
ead
5 3
a
5 3 onstee
130 oom
b. (6) Getan improved estimate of /"(2.4)using Richardson extrapolation.
Repeat the calculation using hro.2
$42.4) wy $Ob)-fa2) _~ 0,038288- 0,084 584
4 Better ~ estimate?
Foods - 0.128 14>
2. 10) = -0138!")
Oe
= ~b. 12929
i 0, 28(A-tn128a4)
(02) foay*-1
2. (4) Use the data in the table to find the integral between x=1.0 and 1.8,
using the trapezoidal rule with /=0.1
SESH > FE (5495 2etHb AURIS 248M a
4 DRIVE) 422) BHVA DRAIN
4 2x2.8284 3,001)
= N84
b. (6) Extrapolate from the results of 2a. to get an impro
‘integral using Romberg integration,
yong he 0-2
we =
= nrg
says. withthe st
Le titaae s WN tT Ga
cS SSE Sema BS custde 20100) 4 on2ylt
ce when ne Osh
(664333.
746* For n an even integer, let Th, Tm, be trapezoidal rule integrals
with step sizes h and 2h. It is easy to show that
T - Ten = (h/2) (-fo + 2£; - 2f2 + --- - £,), from which
+ (1/3) (T, ~ Tan) = (/3) (fo + 4f, + 2f2 + 4f3 + -.. + Eady
which is Simpson's 1/3 rule. An equivalent relation is to subtract
Tm/3 from 4/3*Ty.