(a) Find the Riemann sum for $f(x) = x-2\sin(2x),\,\, 0 \le x \le 3,$ with six terms, taking the sample points to be right endpoints. Give your answer correct to six decimal points.

$R_{6} =$

(b) Repeat (a) with midpoints as the sample points.

$M_{6} =$

You can earn partial credit on this problem.