Midpoint Riemann sum for cos(x) on [-π/2, π/2] with n = 6
Consider the function on the interval .
Partition into subintervals of equal width to approximate using the midpoint rule. Find the width of each subinterval, identify the midpoint of each subinterval, and use these midpoints to compute the midpoint Riemann sum . What is the value of ?
Hint
First compute . List the six subintervals, find the midpoint of each, evaluate at each midpoint, sum the results, and multiply by .
Step-by-step solution
The width of each subinterval is . The subintervals are , , , , , , so the midpoints are .
Since is even, the cosine values at these symmetric midpoints pair up: , , , each appearing twice. Summing gives .
Multiplying by gives , which is close to the exact value of the integral, .
Related problems
Practice similar Calculus problems interactively.
Start Closing the Gap