Question Details

For the integral  ∫ 0 π / 2 ⁡ ( 8 + 4 cos ⁡ x ) d x , the absolute percentage error in numerical evaluation with the Trapezoidal rule, using only the endpoints, is ______ (round off to one decimal place).

Show Answer
Correct Answer

Correct answer is : 5.2

Given, Number of interval = 1

a = 0,  b = π 2

N u m b e r o f i n t e r v a l = b − a h ⇒ 1 = π 2 − 0 h ∴ h = π 2

True value

∫ 0 π / 2 ⁡ ( 8 + 4 cos ⁡ x ) d x = [ 8 x + 4 s i n x ] 0 π 2

⇒ T r u e v a l u e = [ ( 8 × π 2 ) + ( 4 × sin ⁡ ( π 2 ) ) ]

⇒ True value = 4π + 4 = 16.56

Approximate value

By trapezoidal rule

xn

xo = 0

X n = π 2

yn

yo= 8 + 4 cos 0 = 12

yn = 8 + 4 cos 90 = 8

h = ( π 2 − 0 ) 1 = π 2

According to the trapezoidal rule

∫ a b ⁡ f ( x ) d x = h 2 [ y o + y n + 2 ( y 1 + y 2 + y 3 … ) ] ∫ 0 π 2 ⁡ ( 8 + 4 c o s x ) d x = π 4 ( 12 + 8 )

⇒  Approximate value = 5π = 15.70

Now,

A b s o l u t e p e r c e n t a g e e r r o r = | t r u e v a l u e − a p p r o x i m a t e v a l u e | t r u e v a l u e A b s o l u t e p e r c e n t a g e e r r o r = | 16.56 − 15.70 | 16.56 × 100

∴ 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:
I = ∫ 0 π / 2 ( 8 + 4 cos x ) d x
Integrating the function step-by-step:
I = [ 8 x + 4 sin x ] 0 π / 2
Substituting the upper limit x=π2 and lower limit x=0:
I true = [ 8 ( π 2 ) + 4 sin ( π 2 ) ] − [ 8 ( 0 ) + 4 sin ( 0 ) ]
Since sin(π2)=1 and sin(0)=0:
I true = 4 π + 4
Substituting π≈3.14159:
I true = 4 ( 3.14159 ) + 4 = 12.56637 + 4 ≈ 16.57

Step 2: Calculate the Approximate Value Using the Trapezoidal Rule
Using only the endpoints implies that the number of intervals is n=1 over the interval [a,b]=[0,π2].
The step size h is:
h = b − a = π 2 − 0 = π 2
Evaluating the function f(x)=8+4cosx at the endpoints:
At the lower limit (x0=0):
y 0 = f ( 0 ) = 8 + 4 cos ( 0 ) = 8 + 4 ( 1 ) = 12
At the upper limit (x1=π2):
y 1 = f ( π 2 ) = 8 + 4 cos ( π 2 ) = 8 + 4 ( 0 ) = 8
Applying the Trapezoidal rule formula:
I approx = h 2 [ y 0 + y 1 ]
I approx = π 4 [ 12 + 8 ] = 5 π
Substituting π≈3.14159:
I approx = 5 ( 3.14159 ) ≈ 15.71

Step 3: Calculate the Absolute Percentage Error
The absolute percentage error is given by:
Absolute percentage error = | I true − I approx | I true × 100
Substituting the calculated values:
Absolute percentage error = | 16.57 − 15.71 | 16.57 × 100
Absolute percentage error = 0.86 16.57 × 100 ≈ 5.19 %
Rounding off to one decimal place, we get 5.2.

Transparent Access on Mindyard

Built for Learners & Educators Alike

Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.

FREE FOR STUDENTS

Practice & Learn Free for Students

Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.

  • Unlimited mock tests & question bank practice
  • Full access to curated study library & formula notes
  • 100% free for students • No credit card required
2 MONTHS FREE TRIAL

Educators & Coaching Institutes

Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.

  • AI question uploader & rapid test generator
  • Anti-cheating tab proctoring & performance reports
  • Full Pro access free for 60 days • No upfront commitment
Discover more resources

You may also like

Mock Tests

View All
  • JEE
  • intermediate
  • 3 hours
  • chemistry, mathematics, physics

A comprehensive JEE Advanced 2022 Paper 1 designed to help aspirants understand the examination pattern, difficulty level, and question trends of JEE Advanced. This paper covers important concepts from Physics, Chemistry, and Mathematics, featuring a balanced mix of conceptual, numerical, and advanced application-based questions. It helps students strengthen conceptual understanding, enhance analytical and problem-solving skills, and improve speed and accuracy. Ideal for practice, revision, self-assessment, previous year trend analysis, concept reinforcement, and time management, this paper is a valuable resource for effective JEE Advanced preparation.

  • JEE
  • intermediate
  • 3 hours
  • chemistry, mathematics, physics
  • Proctored

A comprehensive JEE Advanced 2022 Paper 2 designed to help aspirants understand the examination pattern, difficulty level, and question trends of JEE Advanced. This paper covers important concepts from Physics, Chemistry, and Mathematics, featuring a balanced mix of conceptual, numerical, and advanced application-based questions. It helps students strengthen conceptual understanding, enhance analytical and problem-solving skills, and improve speed and accuracy. Ideal for practice, revision, self-assessment, previous year trend analysis, concept reinforcement, and time management, this paper is a valuable resource for effective JEE Advanced preparation.

Ask AI Tutor
5 left
Q1 View Question & Options
AI Tutor is solving this question...
Reading question context & options...
Ask your own doubt or choose a quick prompt: