0% found this document useful (0 votes)
16 views

Numerical Methods With Computer Application Excel

The document contains the results of solving several equations using Newton's method. It lists the initial guess, subsequent guesses, function values at each guess, error percentage, and whether to continue or stop iterating for each equation.

Uploaded by

Daisuke Niwa
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Numerical Methods With Computer Application Excel

The document contains the results of solving several equations using Newton's method. It lists the initial guess, subsequent guesses, function values at each guess, error percentage, and whether to continue or stop iterating for each equation.

Uploaded by

Daisuke Niwa
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 6

f(x) = x3 - x - 1 Xn Xn-1 f(Xn) f(Xn-1) Xn+1 %Error Remarks

x1= 1.4 1.3 0.344 -0.103 1.323043 0.058167 CONTINUE


x2= 1.323043 1.4 -0.00713 0.344 1.324606 0.00118 CONTINUE
x3= 1.324606 1.323043 -0.00048 -0.00713 1.324718 8.46E-05 CONTINUE
x4= 1.324718 1.324606 7.46E-07 -0.00048 1.324718 1.32E-07 STOP
x5=

y = (x/4) - sin x Xn Xn-1 f(Xn) f(Xn-1) Xn+1 %Error Remarks


x1= 2.5 2.4 0.026528 -0.07546 2.47399 0.010513 CONTINUE
x2= 2.47399 2.5 -0.00061 0.026528 2.474572 0.000235 CONTINUE
x3= 2.474572 2.47399 -4.53E-06 -0.00061 2.474577 1.77E-06 STOP
x4=

y = 2x - 5 - sin x Xn Xn-1 f(Xn) f(Xn-1) Xn+1 %Error Remarks


x1= 2.8 2.6 0.265012 -0.3155 2.708697 0.033707 CONTINUE
x2= 2.708697 2.8 -0.00211 0.265012 2.709417 0.000266 CONTINUE
x3= 2.709417 2.708697 -1.28E-05 -0.00211 2.709422 1.62E-06 STOP
x4=

y = x3 - 3x + 1 Xn Xn-1 f(Xn) f(Xn-1) Xn+1 %Error Remarks


x1= 1.6 1.5 0.296 -0.125 1.529691 0.045963 CONTINUE
x2= 1.529691 1.6 -0.00966 0.296 1.531914 0.001451 CONTINUE
x3= 1.531914 1.529691 -0.00071 -0.00966 1.532089 0.000114 CONTINUE
x4= 1.532089 1.531914 1.93E-06 -0.00071 1.532089 3.12E-07 STOP
x5=

(3) Xn Xn-1 f(Xn) f(Xn-1) Xn+1 %Error Remarks


x1= 1.8 1.7 0.24 -0.11 1.731429 0.039604 CONTINUE
x2= 1.731429 1.8 -0.00216 0.24 1.732039 0.000352 CONTINUE
x3= 1.732039 1.731429 -4.15E-05 -0.00216 1.732051 6.91E-06 STOP
x4=

Enhancement #1
x4 = 125 Xn Xn-1 f(Xn) f(Xn-1) Xn+1 %Error Remarks
x1= 3.4 3.3 8.6336 -6.4079 3.342601 0.017172 CONTINUE
x2= 3.342601 3.4 -0.16442 8.6336 3.343674 0.000321 CONTINUE
x3= 3.343674 3.342601 -0.0041 -0.16442 3.343702 8.2E-06 STOP
x4=
x4 - x - 1 = 0 Xn Xn-1 f(Xn) f(Xn-1) Xn+1 %Error Remarks
x1= 1.3 1.2 0.5561 -0.1264 1.21852 0.066868 CONTINUE
x2= 1.21852 1.3 -0.01391 0.5561 1.220509 0.00163 CONTINUE
x3= 1.220509 1.21852 -0.00147 -0.01391 1.220745 0.000193 CONTINUE
x4= 1.220745 1.220509 4.68E-06 -0.00147 1.220744 6.11E-07 STOP
x5=

x2 - cos (2x) = 0 Xn Xn-1 f(Xn) f(Xn-1) Xn+1 %Error Remarks


x1= 0.7 0.5 0.320033 -0.2903 0.595129 0.176216 CONTINUE
x2= 0.595129 0.7 -0.01724 0.320033 0.60049 0.008928 CONTINUE
x3= 0.60049 0.595129 -0.00086 -0.01724 0.60077 0.000466 CONTINUE
x4= 0.60077 0.60049 2.73E-06 -0.00086 0.600769 1.48E-06 STOP
x5=

10x2 - 1 = 0 Xn Xn-1 f(Xn) f(Xn-1) Xn+1 %Error Remarks


x1= 0.4 0.3 0.6 -0.1 0.314286 0.272727 CONTINUE
x2= 0.314286 0.4 -0.01224 0.6 0.316 0.005425 CONTINUE
x3= 0.316 0.314286 -0.00144 -0.01224 0.316228 0.000722 CONTINUE
x4= 0.316228 0.316 4.44E-06 -0.00144 0.316228 2.22E-06 STOP
x5=

Enhancement #2
2x3 - 4x2 - 3x + 1 Xn Xn-1 f(Xn) f(Xn-1) Xn+1 %Error Remarks
x1= 2.6 2.5 1.312 -0.25 2.516005 0.033384 CONTINUE
x2= 2.516005 2.6 -0.0151 1.312 2.516961 0.00038 CONTINUE
x3= 2.516961 2.516005 -0.00089 -0.0151 2.517021 2.39E-05 STOP
x4=

x + cos x = 2 Xn Xn-1 f(Xn) f(Xn-1) Xn+1 %Error Remarks


x1= 3 2.9 0.010008 -0.07096 2.98764 0.004137 CONTINUE
x2= 2.98764 3 -0.00053 0.010008 2.988265 0.000209 CONTINUE
x3= 2.988265 2.98764 -3.63E-06 -0.00053 2.988269 1.43E-06 STOP
x4=

Enhancement #3
(2)
3 Xn Xn-1 f(Xn) f(Xn-1) Xn+1 %Error Remarks
x1= 1.3 1.2 0.197 -0.272 1.257996 0.03339 CONTINUE
x2= 1.257996 1.3 -0.00915 0.197 1.259861 0.001481 CONTINUE
x3= 1.259861 1.257996 -0.00029 -0.00915 1.259921 4.77E-05 STOP
x4=

3
5 Xn Xn-1 f(Xn) f(Xn-1) Xn+1 %Error Remarks
x1= 1.3 1.2 0.71293 -0.51168 1.241783 0.046882 CONTINUE
x2= 1.241783 1.3 -0.04724 0.71293 1.245401 0.002905 CONTINUE
x3= 1.245401 1.241783 -0.00397 -0.04724 1.245733 0.000267 CONTINUE
x4= 1.245733 1.245401 2.53E-05 -0.00397 1.245731 1.69E-06 STOP
x5=

Enhancement #4
cos (x) - e-x = 0 Xn Xn-1 f(Xn) f(Xn-1) Xn+1 %Error Remarks
x1= 1.3 1.2 -0.00503 0.061164 1.292397 0.005883 CONTINUE
x2= 1.292397 1.3 0.000205 -0.00503 1.292695 0.00023 CONTINUE
x3= 1.292695 1.292397 5.94E-07 0.000205 1.292696 6.69E-07 STOP
x4=

cos (x) + x = 2 Xn Xn-1 f(Xn) f(Xn-1) Xn+1 %Error Remarks


x1= 3 2.9 0.010008 -0.07096 2.98764 0.004137 CONTINUE
x2= 2.98764 3 -0.00053 0.010008 2.988265 0.000209 CONTINUE
x3= 2.988265 2.98764 -3.63E-06 -0.00053 2.988269 1.43E-06 STOP
x4=
FINAL (Real root/zero)

1
1.3247179572

FINAL (Real root/zero)

2
2.4745767881

FINAL (Real root/zero)

3
2.7094216112

FINAL (Real root/zero)

4
1.532

FINAL (Real root/zero)

5
1.73205

FINAL (Real root/zero)

E#1 A
3.34
FINAL (Real root/zero)

E#1 B
1.22

FINAL (Real root/zero)

E#1 C
0.60

FINAL (Real root/zero)

E#1 D
0.32

FINAL (Real root/zero)

E#2 A
2.5170

FINAL (Real root/zero)

E#2 B
2.9883

FINAL (Real root/zero)

E#3 A
E#3 A
1.2599

FINAL (Real root/zero)

E#3 B
1.2457

FINAL (Real root/zero)

E#4 A
1.293

FINAL (Real root/zero)

E#4 B
2.988

You might also like