Newton Raphson

You might also like

Download as xls, pdf, or txt
Download as xls, pdf, or txt
You are on page 1of 2

Newton Raphson method to find square root of a number Copyright © Kardi Teknomo 20

y= 4 => we want to find square root of this number


x(0) = 8 the equation become x^2 = y, or f(x) = x^2-y

Using iteration
First, use Tools-Options: Calculation
x(k) Err:522 Then, type all formulas of f(x) , f'(x), y and input x(0)
f(x)= x^2 - y Err:522 For the first time, x(k) = x(0) as initial value
f'(x)=2x Err:522 After that, type the formula of Newton Raphson in C8
Press F9, repeatedly until the value of x(k) converged
result This is one time usage, next time you want to recalcu

Using Spreadsheet Table Check 2


k x(k) f(x)= x^2 - f'(x)=2x
0 8 60 16
1 4.25000 14.0625 8.5
2 2.59559 2.737078 5.191176
3 2.06833 0.277999 4.136665
4 2.00113 0.004516 4.002258
5 2.00000 1.27E-06 4.000001
6 2.00000 1.01E-13 4
7 2.00000 0 4
8 2.00000 0 4
9 2.00000 0 4
10 2.00000 0 4

result
Copyright © Kardi Teknomo 2004

ons: Calculation Tab, check Iteration check box


as of f(x) , f'(x), y and input x(0)
= x(0) as initial value
rmula of Newton Raphson in C8 = C8-C9/C10
until the value of x(k) converged
e, next time you want to recalculate, you need to type the formula again

You might also like