1,455 views
0 votes
0 votes

The trapezoidal method to numerically obtain $\int_a^b f(x) dx$ has an error E bounded by $\frac{b-a}{12} h^2 \max f’’(x), x \in [a, b]$ where $h$ is the width of the trapezoids. The minimum number of trapezoids guaranteed to ensure $E \leq 10^{-4}$ in computing $\ln 7$ using $f=\frac{1}{x}$ is

  1. 60
  2. 100
  3. 600
  4. 10000

1 Answer

0 votes
0 votes
Interval [a b] = [1 7]

f(x) = 1/x

Max f"(x) in [a b] is 2 only ..  // f"(x) = 2/x^3

Error = (b -a)*h*h*max f"(x)/12.   // given

         = (7-1)*h*h*2/12

         = h*h

Error <= 10^(-4)         // given

h*h <= 10^(-4)

h <= 10^(-2)

 

(b - a)/n = h                // n is no of trapezoid

(7-1)/n >=10^(-4)

n <= 600

MinimumMinimum value of n is 600..

Related questions

3 votes
3 votes
2 answers
1
Kathleen asked Sep 29, 2014
11,956 views
The Newton-Raphson method is used to find the root of the equation $X^2-2=0$. If the iterations are started from -1, the iterations willconverge to -1converge to $\sqrt{2...
1 votes
1 votes
3 answers
3
Kathleen asked Sep 11, 2014
2,983 views
The minimum number of equal length subintervals needed to approximate $\int_1^2 xe^x\,dx$ to an accuracy of at least $\frac{1}{3}\times10^{-6}$ using the trapezoidal rule...
1 votes
1 votes
1 answer
4
Ishrat Jahan asked Nov 3, 2014
1,447 views
If the trapezoidal method is used to evaluate the integral obtained $\int_{0}^{1} x^2dx$, then the value obtainedis always (1/3)is always < (1/3)is always = (1/3)may be ...