You are on page 1of 1

MECN 3031A/3032A/ CHMT 3008A: Numerical Methods

Tutorial 0
August 2, 2022

1 Absolute and Relative Error


• Given x = 4.21 and x∗ = 4.213, calculate
– absolute error,
– relative error.
• If
– x = 4.1 × 10−2 and x = 4.08 × 10−2 ,
– If x = 4.1 × 101 and x = 4.08 × 101 , and
– x = 4.1 × 106 and x = 4.08 × 106 ,
Calculate;
– Absolute errors,
– Relative errors,

What inference can be drawn from the respective results?

2 Nesting
Given the polynomial
P(x) = ax3 + bx2 + cx + d,
where a,b,c,d are constants with the constant value a = b = c = d = 1.
• If x = 0.1, obtain P(x). Round your final answer to 2dp.
• Apply nesting on the polynomial and label G(x).

• Using x = 0.1, obtain G(x). Round your answer to 2dp.

You might also like