Suppose you wish to approximate $\displaystyle \int_{1}^{4} \ln(x)dx$ by using Trapezoidal rule. What value of n would you chose to ensure that the error in your approximation is no more than $10^{-2}$. Using: $$|E_{T}| ≤ \frac{K_{2}(b - a)^{3}}{12n^{2}}$$ Where $K = \max|f^{(2)}(x)|$
My work ,I took the second derivative and got: $f^{(2)}(x) = -1x^{-2}$ Then I figured that the max value that x can take on is 4 so I plugged that into the second derivative and got: $$f^{(2)}(4) = \frac{-1}{16}$$
Then I plugged that into the formula: $$|E_{T}| ≤ \frac{\frac{-1}{16}(4 - 1)^{3}}{12n^{2}}$$
Then I isolated that down to be $-9 <= (64n^{2})(10^{-2})$ Then to $\frac{-9}{64\cdot10^{-2}}$ Solving for $n$ I got: $$\sqrt{\frac{-9}{64\cdot10^{-2}}} = n$$
Is this incorrect, is my method flawed?
Thank you
Thank you!
– yre Mar 24 '17 at 16:07