Numerical Integration
Numerical Integration 1 / 11
Numerical Integration Numerical Integration 1 / 11 Objective b - - PowerPoint PPT Presentation
Numerical Integration Numerical Integration 1 / 11 Objective b Approximate f ( x ) dx a Numerical Integration 2 / 11 Objective b Approximate f ( x ) dx a A jog down Calc I/II lane The integral is the area under the curve, i.e
Numerical Integration 1 / 11
Numerical Integration 2 / 11
Numerical Integration 2 / 11
Numerical Integration 2 / 11
Numerical Integration 2 / 11
Numerical Integration 2 / 11
Numerical Integration 3 / 11
Numerical Integration 3 / 11
Numerical Integration 3 / 11
Desmos demo Numerical Integration 3 / 11
1 Divide [a, b] so that
Numerical Integration 4 / 11
1 Divide [a, b] so that
2 On each sub-interval [xk, xk+1] select a sample point, x∗
Numerical Integration 4 / 11
1 Divide [a, b] so that
2 On each sub-interval [xk, xk+1] select a sample point, x∗
3 Define the height of each sub-rectangle as f (x∗
4 Summing up for the n sub-intervals
Numerical Integration 4 / 11
1 Each trapezoid has a base of [xk, xk+1] with parallel sides of length
Numerical Integration 5 / 11
1 Each trapezoid has a base of [xk, xk+1] with parallel sides of length
2 The area of the k-th Trapezoid is
5 / 11
1 Each trapezoid has a base of [xk, xk+1] with parallel sides of length
2 The area of the k-th Trapezoid is
5 / 11
a
n
6 / 11
Numerical Integration 7 / 11
Numerical Integration 8 / 11
1
n , where n is even.
Numerical Integration 8 / 11
1
n , where n is even.
2
Numerical Integration 8 / 11
1
n , where n is even.
2
3
8 / 11
1
n , where n is even.
2
3
a
8 / 11
Numerical Integration 9 / 11
log10(∆x)
log10(error)
Comparison
Simpsons Midpoint Trapeziod
Numerical Integration 10 / 11
Numerical Integration 11 / 11