- #1
opus
Gold Member
- 717
- 131
Homework Statement
Find ##R_4## for ##g(x)=cos(πx)## on ##[0,1]##
Homework Equations
The Attempt at a Solution
(i) Since we want ##n=4## even sub intervals between ##x=0## and ##x=1##,
intervals are ##[0, \frac{π}{4}]##, ##[\frac{π}{4}, \frac{π}{2}]##, ##[\frac{π}{2}, \frac{3π}{4}]##, ##[\frac{3π}{4}, π]##
(ii) ##\frac{1}{4}\sum_{k=1}^4 cos(πx) = -0.25##
However, the back of the book states that the correct solution is 0.25.
So my question is, do we just take the absolute value of such an answer considering area cannot be negative?