Professional Documents
Culture Documents
Integral of Cos X Using The Trapezium Rule
Integral of Cos X Using The Trapezium Rule
.48 /
SoluLlon
O SLep 1
We have Lo flnd Lhe sublnLervals and lnLernal polnLs
ln order Lo flnd Lhe sublnLervals we use Lhe equaLlon
(ba)/n
Where b n
a 0
n10
1herefore (n0)/10 n/10
?our sublnLerval ls n/10 (you're golng ln n/10 so you sLarL off wlLh a 0 ln Lhls case Lhen add
n/10 Lhen add n/10 agaln (2 n /10 n/3) and so on)
ln order Lo know how many polnLs you from 0 Lo n ln n/10 use Lhls relaLlonshlp
n+1 and Lhls Lells you many polnLs you have ln our case (10)+1 11 1herefore we now know
LhaL we have 11 polnLs
O SLep 2
x f(x)
0 1
n/10 093
n/3 081
3 n/10 039
2 n/3 031
n/2 0
3 n/3 031
7 n/10 039
4 n/3 081
9 n/10 093
n 1
0
3n/3
2n/3
n/3
3n/10
7n/10
4n/3
9n/10
n/10
n/2
n
O SLep 3
Apply Lhe Lrapezlum rule
-
,
/ 1
ba/2n * (f(a) +2 f(x)+f(x
2
)+f(x
3
)++f(x
n1
)+f(b))
.48 /
n/20 * ( 1+2093+081+039+031+0+ (031)+(039)+(081)+(093)1)
n/20 * ( 1+2093+081+039+031+0+ (031)+(039)+(081)+(093)1)
n/20 *( 0)
0