Saturday, May 12, 2012

Finding root of an equation using a Calculator

This was a quick trick I learned which is useful in calculating root
of an equation using only a Scientific Calculator.
For eg. Lets find the root of
f(x)= x^3- 8x -4

1. first calculate f'(x) thats easy,
f'(x)=3x^2 - 8

2. We'll be following Newton's method of root calculation
x - f (x) / f '(x)

3. Enter a number (the number should be close to the root, say 4 in
this case ) in your calculator & press equals

4. Now enter the Newton's formula (given above) where just replace x
with 'ans' key
hence you would be entering,
Ans - ( Ans^3 - 8Ans -4 ) / ( 3Ans^2 -8 )

5. Keep pressing = until you get a fixed answer, that is the root of
your equation

final ans : 3.051374

This was useful for me, hope it works for you too.