0% found this document useful (0 votes)
18 views

Tutorial 0

The document discusses calculating absolute and relative errors for different values and applying nesting to a polynomial function. It provides examples of calculating absolute and relative errors for various values and obtaining the value of a polynomial and its nested form by substituting a value.

Uploaded by

kefiloe Letsie
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Tutorial 0

The document discusses calculating absolute and relative errors for different values and applying nesting to a polynomial function. It provides examples of calculating absolute and relative errors for various values and obtaining the value of a polynomial and its nested form by substituting a value.

Uploaded by

kefiloe Letsie
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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