For the integral the absolute percentage error in numerical evaluation with the Trapezoidal rule, using only the endpoints, is ______ (round off to one decimal place).
Correct Answer :
Correct answer is : 5.2
Given, Number of interval = 1
a = 0,
True value
⇒ True value = 4π + 4 = 16.56
Approximate value
By trapezoidal rule
|
xn |
xo = 0 |
|
|
yn |
yo= 8 + 4 cos 0 = 12 |
yn = 8 + 4 cos 90 = 8 |
According to the trapezoidal rule
⇒ Approximate value = 5π = 15.70
Now,
∴ Absolute percentage error = 5.19 % ≈ 5.2 %
Solution :
The correct answer is 5.2.
To find the absolute percentage error in the numerical evaluation of the integral using the Trapezoidal rule, we need to calculate the true value of the integral and compare it with the approximate value obtained using only the endpoints.
Step 1: Calculate the True Value of the Integral
The given integral is:
Integrating the function step-by-step:
Substituting the upper limit and lower limit :
Since and :
Substituting :
Step 2: Calculate the Approximate Value Using the Trapezoidal Rule
Using only the endpoints implies that the number of intervals is over the interval .
The step size is:
Evaluating the function at the endpoints:
At the lower limit ():
At the upper limit ():
Applying the Trapezoidal rule formula:
Substituting :
Step 3: Calculate the Absolute Percentage Error
The absolute percentage error is given by:
Substituting the calculated values:
Rounding off to one decimal place, we get 5.2.
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Mindyard. Perfect for teachers and institutes.
Copyright © 2026 Mindyard. All Rights Reserved.