how big must n be so that the absolute value of the error in using the trapezoid rule is less than .00001?

for the integral (square root of (1+x^4))
where a=0 and b=1

3 answers

Oh dear me, I would have to get my numerical analysis book out of the attic for this error analysis.
I guess I would suggest trying it with a few values of n and seeing how quickly it converges, unless you have a text with the error bound rules handy.
OK, I found it online
|E| /= (1/[12 n^2])(b-a)^3 df/dx^3
use the maximum value of the second derivative of the function on the interval a to b, here 0 to 1
typo repair
|E| /= (1/[12 n^2])(b-a)^3 d^2f/dx^2

f = (1+x^4)^.5
df/dx = .5 (1+x^4)^-.5 (4 x^3)
= 2 x^3(1+x^4)^-.5
so
d^2/dx^2 = 2 x^3 [ -.5)(4x^3)(1+x^4)^-1.5] + (1+x^4)^-.5 [ 6 x^2]

find the maximum of that between x = 0 and x = 1
and then your |
n^2 = (1/|12 E|)1^3 times that maximum
Similar Questions
    1. answers icon 0 answers
  1. How do you find Absolute error and how do you find relative error?Absolute error is the difference between the experimental
    1. answers icon 0 answers
  2. Derive absolute error in equations:1)Derive absolute error in (e/m) e/m= 2V/B^2*R^2 2)Derive absolute error in B
    1. answers icon 0 answers
  3. Find the absolute and percent relative error for each calc.b) 81.5 (+/- 0.5) x 40.2 (+/- 0.2)/ 21.8 (+/- 0.2) my answer for
    1. answers icon 0 answers
more similar questions