NEWTON RAPHSON APPROXIMATION IN PYTHON
PRESENT TO YOU BY: GEEKY PROGRAMMER 8-)
WELCOME :D
Welcome to my first tutorial on iteration algorithm.
In this tutorial, we will be applying powerful mathematical technique known as Newton Raphson
approximation to find root of a non-linear algebraic equation.
Function and while loop implementation will be used to construct our program on Python 3.6.1.
So let’s begin!!
NEWTON-RAPHSON APPROXIMATION
It is approximated to represent as:
𝑓 𝑥
𝑥𝑛+1 = 𝑥𝑛 −
𝑓′(𝑥)
𝑥𝑛+1 = Next guess of the root
𝑥𝑛 = Initial guess of the root
𝑓 𝑥 = Function equation for which root has to be computed
𝑓′ 𝑥 = Derivative of function equation
PROBLEM
Given that 𝑥 3 + 2𝑥 − 2 = 0 has a root between 0 and 1, find the root to 2 decimal
places using Newton-Raphson Approximation.
PROGRAM TO SOLVE
THANK YOU
Thank you for watching the whole tutorial. Please
do like/dislike, comment, share and subscribe if you
find the tutorial useful :D
We will be back next week again with a new
tutorial on iteration algorithm.