0% found this document useful (0 votes)
608 views1 page

KNS2723 Numerical methods and statistics Exercise 2: = 5 and x = 10. and the true error ε after each iteration

This document outlines 8 exercises for a numerical methods and statistics course. The exercises involve using graphical and analytical methods as well as numerical techniques like bisection, false position, fixed-point iteration, and Newton-Raphson to find roots of equations, maxima of functions, and solutions to simultaneous nonlinear equations. Initial values, termination criteria, and error analysis are also addressed.

Uploaded by

Jing Xuan Chua
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
608 views1 page

KNS2723 Numerical methods and statistics Exercise 2: = 5 and x = 10. and the true error ε after each iteration

This document outlines 8 exercises for a numerical methods and statistics course. The exercises involve using graphical and analytical methods as well as numerical techniques like bisection, false position, fixed-point iteration, and Newton-Raphson to find roots of equations, maxima of functions, and solutions to simultaneous nonlinear equations. Initial values, termination criteria, and error analysis are also addressed.

Uploaded by

Jing Xuan Chua
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

KNS2723 Numerical methods and statistics

Exercise 2
1. Use the graphical method to solve

Check your results by substituting them back into the equations.


2. Determine the real roots of f (x) = −0.6x2 + 2.4x + 5.5:
(a) Graphically.
(b) Using the quadratic formula.
(c) Using three iterations of the bisection method to determine the highest root. Employ initial
guesses of xl = 5 and xu = 10.
Compute the estimated error εa and the true error εt after each iteration.

3. Determine the real root of x3.5 = 80:


(a) analytically, and
(b) with the false-position method to within εs = 2.5%. Use initial guesses of 2.0 and 5.0.

4. Given

Use bisection to determine the maximum of this function. Employ initial guesses of xl = 0 and
xu = 1, and perform iterations until the approximate relative error falls below 5%.

5. Use simple fixed-point iteration to locate the root of

Use an initial guess of x0 = 0.5 and iterate until εa ≤ 0.001%.

6. Use (a) fixed-point iteration and (b) the Newton-Raphson method to determine a root of f (x) =
−x2 + 1.8x + 2.5 using x0 = 5. Perform the computation until εa is less than 0.05%. Also,
perform an error check of your final answer.

7. Determine the roots of the following simultaneous nonlinear equations using (a) fixed-point
iteration and (b) the Newton-Raphson method:

Employ initial guesses of x = y = 1.2 and discuss the results.

8. The polynomial f (x) = 0.0074x4 − 0.284x3 + 3.355x2 − 12.183x + 5 has a real root between 15
and 20. Apply the Newton-Raphson method to this function using an initial guess of x0 =
16.15.

You might also like