You are on page 1of 1

90640719.xls.

ms_office

A
B
C
D
E
1 Newton-Raphson method equation solver - to solve f (x ) = 0
2
Tabulate some values for f (x) first in the block A8:B12. Then graph y =
3 f (x ) first to locate a suitable starting value for the method
3
4 In this example the function is f (x ) = x + 7x - 10
5 and a suitable starting value would be 1
6
7
x
y
8
-1
-18
9
0
-10
10
1
-2
11
2
12
12
3
38
13
14
15 1 Enter the starting value in cell B20
16 2 In cell C20 write the function, in terms of B20
17 3 In cell D20 write the derived function, in terms of B20
18
Step
xn
f' (x n )
x n+1
f (x n )
19 number
20
1
1
-2
10
1.2
21
2
1.2
0.128
11.32
1.18869258
22
3
1.18869258 0.000458842
11.23897
1.188651754
23
4 1.188651754 5.94373E-09 11.238679
1.188651753
24
5 1.188651753
0 11.238679
1.188651753
25
1.188651753
0 11.238679
1.188651753
26
27 Answer
1.188651753 (rounded to 9 dp)

Sigma Mathematics (3rd Edition NCEA)

y = x3 + 7x - 10
50
40
30

20
10
0
-2

-10

-20

-30

(c) Pearson Education New Zealand 2006

You might also like