Using the subintervals [1,5], [5,8], and [8,10] what is the trapezoidal approximation to the integral of (2-cos x) dx from 1 to 10.
Since the intervals are of different length I split the graph into 3 trapezids and did the following.
A= 0.5 h (b1 +b2)
= .5 (4) ((2-cos 5) + (2-cos 1))
= 6.353
I did the same for the other two chnaging h from 4 to 3 and to 2 for the last one. I also calcualted the new bases usign the function given and plugging in the appropraite numbers. I ended up with 18. something. The answer should be 17.129. Where did I go wrong?
Since the intervals are of different length I split the graph into 3 trapezids and did the following.
A= 0.5 h (b1 +b2)
= .5 (4) ((2-cos 5) + (2-cos 1))
= 6.353
I did the same for the other two chnaging h from 4 to 3 and to 2 for the last one. I also calcualted the new bases usign the function given and plugging in the appropraite numbers. I ended up with 18. something. The answer should be 17.129. Where did I go wrong?