Question
Question: Using trapezoidal rule, by dividing the interval [0, 4] into 4 equal parts, the approximate value of...
Using trapezoidal rule, by dividing the interval [0, 4] into 4 equal parts, the approximate value of 0∫4x2+1 is equal to
(a) 25
(b) 26
(c) 27
(d) 28
Solution
Hint: Divide the interval into 4 parts thus find the sub interval of width Δx, Now use the trapezoidal rule formula for 4 equal parts. Substitute x = 0, 1, 2, 3, 4 in f (x) get the values and substitute in the formula.
Complete step-by-step solution -
Trapezoidal rule is used for approximating the definite integrals where it uses the linear approximations of the function. Let f (x) be a continuous function on the interval [a, b] which is [0, 4]. Now divide the intervals [0, 4] into n equal subintervals with each of width, Δx i.e. n = 4.
Δx=nb−a=44−0=44=1
Here, n = 4, as it is told to divide interval into 4 equal parts,
Here, f(x)=0∫4x2+1dx
Then the trapezoidal rule formula for area approximating the definite integral, a∫bf(x)dx is given by,
a∫bf(x)dx=2Δx[f(x0)+2f(x1)+2f(x2)+.....+2f(xn−1)+f(xn)] where, xi=a+iΔx.
0∫4(x2+1)dx=2Δx[f(x0)+2f(x1)+2f(x2)+2f(x3)+f(x4)]...........(1)
Now let us find the values of f(x0),f(x1),f(x2),f(x3) and f(x4), when x = 0,1,2,3,4 f(x0)=f(0)=x2+1=0+1=1.