Beruflich Dokumente
Kultur Dokumente
x 1 2 3 5 7 8
f(x) 3 6 19 99 291 444
5. The following data come from a table that was measured with high
precision. Use the best numerical method (for this type of problem) to
determine y at x = 3.5. Note that a polynomial will yield an exact value.
Your solution should prove that your result is exact.
1 UKSD/270710
STQP2033/34 Kaedah Berangka
x 0 1 2.5 3 4.5 5 6
y 2 5.4375 7.3516 7.5625 8.4453 9.1875 12
7. Develop quadratic splines for the first 5 data points in question 2 and
predict f(3.4) and f(2.2).
∫ (8 + 4cos x) dx
0
(a) analytically;
(b) single application of the trapezoidal rule;
(c) multiple-application trapezoidal rule, with n=2 and 4;
∫ (1 − x − 4 x
3
+ 2 x5 ) dx
−2
(a) analytically;
(b) single application of the trapezoidal rule;
(c) multiple-application trapezoidal rule, with n=2 and 4;
For each of the numerical estimates in (b) and (c), determine the percent
relative error based on (a).
10. Integrate the following function analytically and using the trapezoidal rule,
with n=1, 2, 3, and 4:
2
∫ ( x + 1/ x)
2
dx
1
Solutions to be submitted:
2 UKSD/270710