Math 182 Miniproject 2 Numerical Methods of Integration.md
---
Math 182 Miniproject 2 Numerical Methods of Integration
===
**Overview:** In this project we find exact formulas for integral approximations using Riemann sums of various flavors.
**Prerequisites:** Section 5.6 of _Active Calculus_ and a strong background in $\sum$-notation.
We have learned multiple ways of approximating the values of integrals.
* $R_n$ --- Right Riemann sum using $n$ rectangles
* $L_n$ --- Left Riemann sum using $n$ rectangles
* $T_n$ --- Trapezoid Riemann sum using $n$ rectangles
* $M_n$ --- Midpoint Riemann sum using $n$ rectangles
* $S_{2n}$ --- Simpson's rule using $n$ intervals
Evaluate each of the following. Let Desmos crunch the numbers on each sum for you. Just be sure to include the expressions that you used to set up the calculation.
__Problem 1.__
$\int_4^{10}\sin(x)\,dx$
-cos(10)+cos(4) = 0.185427908213
__Problem 2.__
Approximate $\int_4^{10}\sin(x)\,dx$ by evaluating $R_{100}$.
100
$\sum$((10-4)/100)sin(4+k((10-4)/100)
k=1
$R_{100}$= 0.191755718035
__Problem 3.__
Approximate $\int_4^{10}\sin(x)\,dx$ by evaluating $L_{100}$.
100
$\sum$ ((10-4)/100)sin(4+k((10-4)/100)-((10-4)/100))
k=1
$L_{100}$ = 0.17898883497
__Problem 4.__
Approximate $\int_4^{10}\sin(x)\,dx$ by evaluating $T_{100}$.
$T_{100}$=($R_{100}$ + $L_{100}$)/2 = 0.185372276502
__Problem 5.__
Approximate $\int_4^{10}\sin(x)\,dx$ by evaluating $M_{100}$.
100
$\sum$ ((10-4)/100)sin(4+k((10-4)/100)-((10-4)/200)
k=1
$M_{100}$ = 0.18545572532
__Problem 6.__
Approximate $\int_4^{10}\sin(x)\,dx$ by evaluating $S_{200}$.
100
$\sum$ ((2($M_{100}$)+$T_{100}$)/3 = 0.185427909047
k=1
___
To submit this assignment click on the __Publish__ button. Then copy the url of the final document and submit it in Canvas.