Numerics Assignment

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Assignment (out of 20%)

1. Locate the first non-trivial root of sin 𝑥 =𝑥 2 , where 𝑥 is in radians. Use a bisection
technique with the initial interval from 0.5 to 1. (When it says “non-trivial” it means
“Significant”)
 Perform the computation until 𝜀𝑎 is less than 𝜀𝑠 = 2%.
 Also perform an error check by substituting your final answer into the original
equation.

2. Polynomial Regression of 3rd degree.


Given data;
x 5 10 15 20 25 30 35 40 45 50
y 16 25 32 33 38 36 39 40 42 42

 Use least squares Regression to fit a 3rd degree Polynomial of the form
𝑓(𝑥) = 𝑎𝑥 3 + 𝑏𝑥 2 + 𝑐𝑥 + 𝑑

3. Determine the real root of

(0.9−0.4 𝑋)
𝑓 (𝑥 ) =
𝑥
a) Analytically
b) Graphically
c) Using five iterations of Bisection method between the interval 1 and 3. Compute the
approximate error 𝜀𝑎 and the true error 𝜀𝑡 of the relative percentage after each
iteration.

4. Determine the roots of the simultaneous nonlinear equations

(𝑥 − 4)2 + (𝑦 − 4)2 = 4
𝑥 2 + 𝑦 2 = 16
 Use the graphical approach, to obtain your initial guesses.
 Then determine your precise estimates of the roots of the two equations using
Newton Raphson method.

 To be done in a group of five members. (Not more than five, but it can be less).
 To be submitted on Monday, May 27, 2024. (The first Monday, after you completed
your final Exam).

You might also like