in Numerical Methods retagged by
978 views
0 votes
0 votes

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.

  1. 10-2
  2. 10-3
  3. 10-4
  4. 10-5

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.

  1. iv only
  2. iii and iv only
  3. ii, iii and iv only
  4. i, ii, iii and iv
in Numerical Methods retagged by
978 views

1 Answer

2 votes
2 votes

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

edited by

2 Comments

@Vikrant : why error <=10^-8

Why not 10^-7 ??

We need only upto 7 decimal places !!

1
1
@sandeep you are right it should be 10^-7. I have edited the answer.
1
1
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true