Question
Question: How do you calculate the left and right Riemann sum for the given function over the interval \(\left...
How do you calculate the left and right Riemann sum for the given function over the interval [0,ln2], using n=40 for ex?
Solution
We find the points for left and right Riemann sum in case of interval [0,ln2], using n=40 for ex. We find the width of the rectangles. We use them in the formula of i=0∑n−1Δxf(a+iΔx) and i=1∑nΔxf(a+iΔx) to find the solution.
Complete step by step solution:
A Riemann sum can be visualized as a division of (approximately) the area under the curve f(x) on [a,b] into n adjacent rectangles spanning the interval, where the kth rectangle has width Δx=nb−a.
This Riemann sum can be expressed with respect to both the starting points or the ending points of the rectangles. They are divided into two parts where they are called left and right Riemann sum.
The formula for left Riemann sum is i=0∑n−1Δxf(a+iΔx).
The formula for left Riemann sum is i=1∑nΔxf(a+iΔx).
We need to calculate the left and right Riemann sum for the given function over the interval [0,ln2], using n=40 for ex. Here f(x)=ex. The interval is [a,b]≡[0,ln2].
We first find the width of the rectangles where Δx=40ln2−0=40ln2.
We have to find the functional values of f(a+iΔx),i=0(1)40.
Therefore, for f(x)=ex, we have
f(0)=e0=1
f(0+40ln2)=e40ln2=2401
f(0+402ln2)=e402ln2=2402
……………………
…………………….
f(0+4040ln2)=eln2=2
Now we find the left Riemann sum value where