If f(x) = ex − 1, 0 ≤ x ≤ 2, find the riemann sum with n = 4 correct to six decimal places, taking the sample points to be midpoints. m4 =

Respuesta :

The Left Riemann sum uses the left endpoints of a subinterval:

[tex] \int_{a}^{b}f(x)dx\approx \bigtriangleup x (f(x_0)+f(x_1)+2f(x_2)+...+f(x_{n-2}+f(x_{n-1})),where \bigtriangleup x=\frac{b-a}{n} [/tex]

We know that a=0, b=2, and n=4.

[tex] \bigtriangleup x=\frac{b-a}{n}=\frac{2-0}{4}=\frac{1}{2} [/tex]

Divide the interval [0,2] into 4 subintervals of length [tex] \bigtriangleup x=\frac{1}{2} [/tex].

[tex] a=[0,1/2],[1/2,1],[1,3/2],[3/2,2] [/tex]

[tex] f(x_0)=f(a)=f(0)=0 [/tex]

[tex] f(x_1)=f(1/2)= 0.64872 [/tex]

[tex] f(x_2)=f(1)=1.71828 [/tex]

[tex] f(x_3)=f(3/2)=3.481689 [/tex]

[tex] \int_{0}^{2}f(x) dx= 1/2(0+0.64872+1.71828+3.481689)=2.9243 [/tex]

Thus the Riemann sum of the given function [tex] f(x)=e^x-1 [/tex] as 2.9243.

ACCESS MORE