

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
How to approximate integrals using trapezoidal and simpson's rules in numerical integration. The author discusses the advantages of using trapezoids and parabolas to fit under the curve and provides examples of approximating definite integrals using these methods. The document also includes tables and formulas for calculating the approximations.
Typology: Study notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Approximate Integration ~ p. 1
Objective: Approximate integrals using trapezoidal and Simpson’s rules
Numerical integration can be useful
Previous methods of approximate integration using rectangles: left, right, and midpoint
y = f(x) from x = 1 to x = 5
using 4 subintervals:
Δ x = 1
A ≈ L 4 = f(1) + f(2) + f(3) + f(4) =24.
y = f(x) from x = 1 to x = 5
using 4 subintervals:
Δ x = 1
A ≈ R 4 = f(2) + f(3) + f(4) + f(5) =26.
y = f(x) from x = 1 to x = 5
using 4 subintervals:
Δ x = 1
A ≈ M 4 = f(1.5) + f(2.5) + f(3.5) + f(4.5) =26.
Use left, right, and midpoint rectangles to approximate using 6
3
0 5
dy 1 +y
rectangles. Round answers to 6 decimal places.
Approximate Integration ~ p. 2
Using trapezoids instead of rectangles allows the figures to more closely fit under the curve.
h(b b ) 2
b
a
f(x)dx
0 1 1 2 2 3 n 2 n 1 n 1 n
f(x x ) x f(x x ) x f(x x ) x... f(x x ) x f(x x ) x 2 2 2 2 2
b
a
f(x)dx
x T [f(x ) 2f(x ) 2f(x ) 2f(x ) f(x )] 2
y = f(x) from x = 1 to x = 5
using 4 subintervals:
Δ x = 1
4
A T (1){[f(1) f(2)] [f(2) f(3)] [f(3) f(4)] [f(4) f(5)]} 25. 2
or (^4)
A T [f(1) 2f(2) 2f(3) 2f(4) f(5)] 25. 2
Use trapezoids with n = 6 to approximate to 6 decimal places.
3
0 5
dy 1 +y