Computer Oriented Numerical Methods (BCA) 3rd Sem Previous Year Solved Question Paper 2022

Practice Mode:
11.

Find the minimize number of intervals required to evaluate the following integral with an accuracy of 10^-5 using Simpson’s 1/3 Rule. ∫01​1+x1​dx

Explanation

The minimum number of intervals required to evaluate the integral ∫011+x1dx with an accuracy of 10i using Simpson's 1/3 Rule, we can use the error formula for Simpson's Rule. The error in Simpson's 1/3 Rule is proportional to (ba)5/n4, where a and b are the limits of integration and n is the number of intervals.

The error formula can be written as:

E180(ba)5maxf(4)(x)

where f(4)(x) represents the fourth derivative of the function f(x).

In our case, a=0 and b=1. We want the error to be less than or equal to 10i, so we set:

(10)5180⋅∣10180(10)5maxf(4)(x)≤10i

This simplifies to:

Max f(4)(x)≤10i180

maxf(4)(x)≤18010i

Now, to find the minimum number of intervals (n), we can use the fact that f(4)(x) represents the fourth derivative of the function f(x)=1+x1. Let's calculate the fourth derivative:

2f(x)=(1+x)21

3f′′(x)=(1+x)32

4f′′′(x)=(1+x)46

5f(4)(x)=(1+x)524

Now, we need to find the maximum value of f(4)(x) within the interval [0, 1]. Since the function f(4)(x) is decreasing, its maximum value occurs at the lower limit (x = 0):

maxf(4)(x)=(1+0)524=24

Now, we can use this value to find the minimum number of intervals n by rearranging the inequality:

24≤18010i

18024≤10i

log10(18024)≤i

Using logarithms, we can find the minimum value of i required to satisfy the accuracy condition:

i≥log10(18024)

Now, calculate the value:

i≥log10(152)≈0.8239

Since i must be an integer (representing the number of decimal places of accuracy), we round up to the next higher integer, which is 1.

Therefore, the minimum number of intervals required to evaluate the integral with an accuracy of 10i using Simpson's 1/3 Rule is 1 interval.