The function is
Let
Find the second derivative of f.
\The maximum value of on the interval [0, 1] is
.
(Error in the trapezoidal rule)
To obtain an earror E that is less than 0.00001, you must choose n such that
\\
Solving the problem using will be cumbersome. So, to make problem easy consider the error value less than or equal to 0.01
(Error in the trapezoidal rule)
To obtain an earror E that is less than 0.01, you must choose n such that
\\
So, you can choose n = 4. and apply the Trapezoidal rule.
\Where (a, b) = (0, 1) and
\
(Trapezoidal )
\
Therefore .