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

Numerical Methods Lab 3

This document provides instructions for numerical methods lab exercises involving Newton's method and the secant method to find roots of equations. Students are asked to use Newton's method to find all three roots of a given equation using a provided graph to initially guess the roots, and to implement Newton's method to find the root of a separate equation, explaining what happens if the initial guess is x0=0. They are also asked to implement the secant method to find the roots of another equation, guessing the initial points from a provided figure.

Uploaded by

Wassen Hejjawi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Numerical Methods Lab 3

This document provides instructions for numerical methods lab exercises involving Newton's method and the secant method to find roots of equations. Students are asked to use Newton's method to find all three roots of a given equation using a provided graph to initially guess the roots, and to implement Newton's method to find the root of a separate equation, explaining what happens if the initial guess is x0=0. They are also asked to implement the secant method to find the roots of another equation, guessing the initial points from a provided figure.

Uploaded by

Wassen Hejjawi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Numerical Methods, Qatar University

Lab Sheet 3
Newton Method
ALGORITHM Newtons Method

Secant Method
ALGORITHM Secant

Take reasonable value of tolerance in all of below problem (e.g. tolerance = 0.001)
1. Find all three roots of the equation
Using Newtons Method. Use the following graph for guessing the roots.

2. Implement Newtons method to find the root of.


Root from the following figure.

Guess initial

Find what happens if you begin with x0=0. Explain the result.
3. Implement the secant method to find the roots of
the below figure.

Guess Initial points from

You might also like