| |||||||||||||||||
![]() |
![]() |
![]() |
|||||||||||||||
|
Newton Raphson Using Microsoft Excel
Newton Raphson method is one of the most famous numerical methods to find root of equation
You need to find initial value
To demonstrate the method, we will use MS Excel in two ways to do the iteration. The first way is using spreadsheet and the second way is using MS Excel iteration. Download the spreadsheet example of this tutorial here.
Example, we want to find the square root of a number, say
We set any initial value say
To use MS Excel iteration, first, use Tools-Options: Calculation Tab, check Iteration check box
2. After that, type the formula of Newton Raphson in C8 = C8-C9/C10 3. Press F9 to recalculate. You get the result as shown in the figure below
Note that most of iteration procedures are sensitive to initial condition. For example, if you input the initial condition of -5, you may get negative result as the square root which is incorrect. Unlike spreadsheet way, the iteration procedure is only work for one time usage only. Next time you want to recalculate, you need to do all the steps above again. See also:
Preferable reference for this tutorial is Teknomo, Kardi. Newton Raphson Using Microsoft Excel. http:\\people.revoledu.com\kardi\ tutorial\Excel\NewtonRaphson.html
|
|||||||||||||||
© 2006 Kardi Teknomo. All Rights Reserved. Designed by CNV Media |
||||||||||||||||