Use the Midpoint Rule with $n = 4$ to approximate the area of the region bounded between the curves $y = \sin^2 (\pi x/4$) and $y = \cos^2 (\pi x/4$) for $0 ≤ x ≤ 1$.
So here $\delta x = 1/4 = 0.25$
So, the final answer will be this: $0.25((\cos(.125\pi /4)^2 + (\cos(.375\pi /4)^2 + (\cos(.625\pi /4)^2 +(\cos(.875\pi /4)^2) - 0.25((\sin(.125\pi /4)^2 + (\sin(.375\pi /4)^2 + (\sin(.625\pi /4)^2 + (sin(.875\pi /4)^2)$
I put this in calculator and get $0.77$ however, my homework system says it's wrong. I have no clue where I'm wrong.
Any help?