Problem Statement:
The value ofΒ 01β«πππ πΒ using the trapezoidal rule with four equal subintervals
is____
Solution: (B)
Also Check:Β Solution of GATE 2021, CE, Set1 (Q.1 to Q.100)
The equal interval, dx = (b-a)/n = (1 – 0)/4 = 0.25
Area using the Trapezoidal Rule, A = dx/2 *[f(x0) + 2f(x1) + 2f(x2) + … + 2f(xn-1) + f(xn)]
f(x) = ex
Hence, A = 0.25/2 * [e0 + 2*e0.25 + 2e0.50 + 2e0.75 + e1]
A = 0.125*[1 + 2.568 + 3.297 + 4.234 + 2.718]
A = 1.727