Lecture Notes Numerical Methods
Lecture Notes Numerical Methods
If :
Then:
Example:
Example
1) Draw a straight line between the points (a, f(a)) and (b, f(b))
2) The x-intercept is the 1st approximation 𝑥1
3) Use similar triangle properties and ratios to estimate 𝑥1 , and find 𝑓(𝑥1)
4) Replace the end with same sign as 𝑓(𝑥1), then repeat the process until required degree of
accuracy is achieved.
Example:
Example:
𝑓(𝑥𝑛 )
𝑥𝑛+1 = 𝑥𝑛 −
𝑓 ′(𝑥𝑛 )
Example: if at any point it is a turning point, then the method with fail because the derivative = 0. I.e.
the tangent is a horizontal line and will never intersect with x-axis.
Example:
Final Note: Don’t use approximated value in each iteration. Use exact value and use calculator
memory function to store exact values.