Professional Documents
Culture Documents
(a) Analytically
(b) Single application of the trapezoidal rule
(c) Multiple-application trapezoidal rule, with n = 2 and 4
(d) Single application of Simpson’s 1/3 rule
(e) Single application of Simpson’s 3/8 rule
Solution:
Page 1 of 4
KKKH 3323 : Numerical Analysis and Computation Methods
Tutorial 2 : Newton-Cotes Integration Formulas (Chapter 22)
(a) Analytically
(b) Single application of the trapezoidal rule
(c) Multiple-application trapezoidal rule, with n = 2 and 4
(d) Single application of Simpson’s 1/3 rule
(e) Single application of Simpson’s 3/8 rule
Solution:
Page 2 of 4
KKKH 3323 : Numerical Analysis and Computation Methods
Tutorial 2 : Newton-Cotes Integration Formulas (Chapter 22)
(a) Analytically
(b) Single application of the trapezoidal rule
(c) Single application of Simpson’s 1/3 rule
(d) Single application of Simpson’s 3/8 rule
Solution:
Page 3 of 4
KKKH 3323 : Numerical Analysis and Computation Methods
Tutorial 2 : Newton-Cotes Integration Formulas (Chapter 22)
4. Integrate the following function analytically and using the trapezoidal rule, with n = 1, 2, 3,
and 4:
Use the analytical solution to compute true percent relative errors to evaluate the accuracy of
the trapezoidal approximations.
Solution:
Page 4 of 4