The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+5 votes

With respect to the numerical evaluation of the definite integral, $K = \int \limits_a^b \:x^2 \:dx$, where $a$ and $b$ are given, which of the following statements is/are TRUE?

  1. The value of $K$ obtained using the trapezoidal rule is always greater than or equal to the exact value of the definite integral.
  2. The value of $K$ obtained using the Simpson's rule is always equal to the exact value of the definite integral.
  1. I only
  2. II only
  3. Both I and II
  4. Neither I nor II
asked in Numerical Methods by Veteran (96.1k points) | 925 views
Out of syllabus now

1 Answer

+5 votes
Answer is C.

1 is true because when we find the true error for the given function in case of Trepoziadal rule we get E=-h^3/6 which is always less than zero. Here the error is =True value - Approx Value. Since the error is less than zero the approx value K is always greater than exact value.

2.Since the given function is a polynomial of degree 2 Simpson's will provide the exact value(Simpson's will give the exact value if the degree of the polynomial is <=3).
answered by Active (1.2k points)

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
49,536 questions
54,113 answers
71,027 users