The trapezoidal method is used to evaluate the numerical value of $\int_{0}^{1}e^x dx$. Consider the following values for the step size h.
For which of these values of the step size h, is the computed value guaranteed to be correct to seven decimal places. Assume that there are no round-off errors in the computation.
error = (b-a)h2.max(f"(x) between 0 and 1) /12
error <= 10-7
solving these equations we get
h <= 6.644*10-4
option B
@Vikrant : why error <=10^-8
Why not 10^-7 ??
We need only upto 7 decimal places !!