You are on page 1of 35

Name

ABC
DEF
GHI
JKL
MNO
PQR
STU
VWX
YZ
12345

Yr/Crs
ECE/3
ECE/3
ECE/3
ECE/3
ECE/3
ECE/3
ECE/3
ECE/3
ECE/3
ECE/3

Q1
60
60
68
99
53
67
70
70
78
58

Final Average
Mean
Median
Mode
0.72
0.72
0.75
Skew
Kurt
Sum
0.752458 0.761566 723.00%

Q2
99
84
37
99
55
89
75
38
77
88

Variance
0.00
Min
0.64

Q3
87
88
89
44
64
85
67
67
77
99

Q4
20
96
90
99
67
40
80
65
88
100

SW
76
10
30
50
65
66
60
70
70
67

FE
75
66
60
99
89
90
96
78
57
48

Final Ave
69.58%
70.80%
64.15%
85.16%
67.59%
74.76%
77.45%
65.50%
73.25%
74.76%

Final Grade
Std. dev.
Mean
Median
Mode
Variance
0.06
3.58
2.88
5.00
1.57
Max
Skew
Kurt
Sum
Min
0.85
0.321241 -2.08341 3575.00%
2.00

Final Average
2
1.5
1
0.5
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Final Average

Low
0.00%
70.00%
73.01%
76.01%
80.01%
83.01%
86.01%
90.01%
93.01%
96.01%

High
69.99%
73.00%
76.00%
80.00%
83.00%
86.00%
90.00%
93.00%
96.00%
100.00%

Grade
5.00
3.00
2.75
2.50
2.25
2.00
1.75
1.50
1.25
1.00

Final Grade
5.00
3.00
5.00
2.00
5.00
2.75
2.50
5.00
2.75
2.75

Std. dev.
1.25
Max
5.00

Grade
5.00
3.00
2.75
2.50
2.25
2.00
1.75
1.50
1.25
1.00

Low
0.00%
70.00%
73.01%
76.01%
80.01%
83.01%
86.01%
90.01%
93.01%
96.01%

High
69.99%
73.00%
76.00%
80.00%
83.00%
86.00%
90.00%
93.00%
96.00%
100.00%

Quizzes
65.00%

Seat Work
10.00%

Finals
25.00%

Final Grade
5
4
3
2
1
0
1

Final Grade

10

Polynomial Func.:
x0
1
1
1.5
1.5
1.625
1.625
1.625
1.625
1.625
1.625
1.62695
1.62793
1.62842
1.62842
1.62854
Transcedental Func.:
x0
0
0.75
0.75
0.75
0.84375
0.89063
0.91406
0.92578
0.92578
0.92578
0.92725
0.92798
0.92834
0.92853

0.6x^2 + 2.4x - 5.5

term. condition:

0.0001

x1
3
2
2
1.75
1.75
1.6875
1.65625
1.64063
1.63281
1.62891
1.62891
1.62891
1.62891
1.62866
1.62866

f(x0)
-2.5
-2.5
-0.55
-0.55
-0.015625
-0.015625
-0.015625
-0.015625
-0.015625
-0.015625
-0.007126617
-0.00287571
-0.000749826
-0.000749826
-0.000218311

f(x1)
7.1
1.7
1.7
0.5375
0.5375
0.25859
0.1209
0.05249
0.0184
0.00138
0.00138
0.00138
0.00138
0.00031
0.00031

term. condition:

0.0001

f(x0)
0
-0.25976376
-0.25976376
-0.25976376
-0.146463374
-0.071009748
-0.028281969
-0.005630512
-0.005630512
-0.005630512
-0.002737947
-0.001286544
-0.000559563
-0.000195751

f(x1)
2.37751
2.37751
0.52156
0.01789
0.01789
0.01789
0.01789
0.01789
0.00602
0.00017
0.00017
0.00017
0.00017
0.00017

x2
2
1.5
1.75
1.625
1.6875
1.65625
1.64063
1.63281
1.62891
1.62695
1.62793
1.62842
1.62866
1.62854
1.6286

x^3-sin x
x1
1.5
1.5
1.125
0.9375
0.9375
0.9375
0.9375
0.9375
0.93164
0.92871
0.92871
0.92871
0.92871
0.92871

x2
0.75
1.125
0.9375
0.84375
0.89063
0.91406
0.92578
0.93164
0.92871
0.92725
0.92798
0.92834
0.92853
0.92862

(func. from no. 5.1, page 139)


f(x2)
1.7
-0.55
0.5375
-0.01563
0.25859
0.1209
0.05249
0.0184
0.00138
-0.00713
-0.00288
-0.00075
0.00031
-0.00022
4.7E-05

remarks
continue
continue
continue
continue
continue
continue
continue
continue
continue
continue
continue
continue
continue
continue
terminate

(func. from no. 5.5, page 139)


f(x2)
-0.25976
0.52156
0.01789
-0.14646
-0.07101
-0.02828
-0.00563
0.00602
0.00017
-0.00274
-0.00129
-0.00056
-0.0002
-1.4E-05

remarks
continue
continue
continue
continue
continue
continue
continue
continue
continue
continue
continue
continue
continue
terminate

NOTE: SOURCE of PROBLEMS from ACTIVITY 2 and SO FORTH


is NUMERICAL METHODS 6th Edition by Steven C. Chapra and Raymond P. Canale

nd P. Canale

Polynomial Func.:
x0
0
0
1.57143
1.62701
1.62855
1.62859
1.62859
1.62859
1.62859
1.62859

0.6x^2 + 2.4x - 5.5

term. condition:

0.0001

x1
1
1.83333
1.83333
1.83333
1.83333
1.83333
1.83333
1.83333
1.83333
1.83333

f(x0)
-5.5
-5.5
-0.246938776
-0.006880615
-0.000188873
-5.18243E-06
-1.42198E-07
-3.90167E-09
-1.07056E-10
-2.93721E-12

f(x1)
-2.5
0.91667
0.91667
0.91667
0.91667
0.91667
0.91667
0.91667
0.91667
0.91667

term. condition:

0.0001

f(x0)
-0.158529015
-0.011574675
-0.001963975
-0.000348188
-6.21813E-05
-1.1119E-05
-1.98871E-06
-3.55708E-07
-6.36239E-08
-1.13801E-08

f(x1)
7.0907
7.0907
7.0907
7.0907
7.0907
7.0907
7.0907
7.0907
7.0907
7.0907

Transcedental Func.:
x0
-1
-0.93439
-0.92961
-0.9288
-0.92866
-0.92863
-0.92863
-0.92863
-0.92863
-0.92863

x2
1.83333
1.57143
1.62701
1.62855
1.62859
1.62859
1.62859
1.62859
1.62859
1.62859

x^3-sin x
x1
2
2
2
2
2
2
2
2
2
2

x2
-0.93439
-0.92961
-0.9288
-0.92866
-0.92863
-0.92863
-0.92863
-0.92863
-0.92863
-0.92863

(func. from no. 5.1, page 139)


f(x2)
0.91667
-0.24694
-0.00688
-0.00019
-5.2E-06
-1.4E-07
-3.9E-09
-1.1E-10
-2.9E-12
-8E-14

remarks
continue
continue
continue
continue
terminate
terminate
terminate
terminate
terminate
terminate

(func. from no. 5.5, page 139)


f(x2)
-0.01157
-0.00196
-0.00035
-6.2E-05
-1.1E-05
-2E-06
-3.6E-07
-6.4E-08
-1.1E-08
-2E-09

remarks
continue
continue
continue
terminate
terminate
terminate
terminate
terminate
terminate
terminate

Polynomial Func.:
2x^3 - 11.7x^2 + 17.7x - 5
(func. from no. 6.2, page 171)
Derived equation(s):
Xo
[(11.7x^2 - 17.7x + 5)/2]^1/3
0
f(x):
[(2x^3 + 17.7x - 5)/11.7]^1/2
0.833333
[(-2x^3 + 11.7x^2 + 5)/17.7]
-0.27083
1.775326
1.742095
1.6122
1.145761
0.013237
0.794626
-0.27952
Transcedental Func.:
2sin[sqrt(x)]-x
(func. from no. 6.2, page 171)
Derived equation(s):
2sin[sqrt(x)]
f(x):

term. condition:
X1
0.833333
-0.27083
1.775326
1.742095
1.6122
1.145761
0.013237
0.794626
-0.27952
1.81029

term. condition:
Xo
1
1.682942
1.925655
1.966562
1.97169
1.972299
1.972371
1.97238
1.972381
1.972381

X1
1.682942
1.925655
1.966562
1.97169
1.972299
1.972371
1.97238
1.972381
1.972381
1.972381

f(Xo)
0.833333
-0.27083
1.775326
1.742095
1.6122
1.145761
0.013237
0.794626
-0.27952
1.81029

0.0001
f(x1)
-0.27083
1.775326
1.742095
1.6122
1.145761
0.013237
0.794626
-0.27952
1.81029
1.883419

remarks
Continue
Continue
Continue
Continue
Continue
Continue
Continue
Continue
Continue
Continue

f(x1)
1.925655
1.966562
1.97169
1.972299
1.972371
1.97238
1.972381
1.972381
1.972381
1.972381

remarks
Continue
Continue
Continue
Continue
Terminate
Terminate
Terminate
Terminate
Terminate
Continue

0.0001
f(Xo)
1.682942
1.925655
1.966562
1.97169
1.972299
1.972371
1.97238
1.972381
1.972381
1.972381

Xo
0
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!

<=== FIN ANS.

X1
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!

f(Xo)
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!

f(x1)
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!

remarks
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!
#NUM!

Xo
0
0.282486
0.332687
0.351487
0.359243
0.362555
0.363989
0.364614
0.364886
0.365006

X1
0.282486
0.332687
0.351487
0.359243
0.362555
0.363989
0.364614
0.364886
0.365006
0.365058

f(Xo)
0.282486
0.332687
0.351487
0.359243
0.362555
0.363989
0.364614
0.364886
0.365006
0.365058

f(x1)
remarks
0.332687 Continue
0.351487 Continue
0.359243 Continue
0.362555 Continue
0.363989 Continue
0.364614 Continue
0.364886 Continue
0.365006 Continue
0.365058 Terminate
0.365081 Continue

<===FIN. ANS

0.0001
Polynomial Func.:
2x^3 - 11.7x^2 + 17.7x - 5
term. condition:
(func. from no. 6.2, page 171)
x0
x1
x2
f(x0)
f(x1)
f(x2)
remarks
1
2
1.88235
3
-0.4
0.2009 continue
2
1.88235 1.92169
-0.4
0.20089558 0.00028 continue
1.88235 1.92169 1.92174 0.2009 0.00028315 -5.4E-07 terminate
1.92169 1.92174 1.92174 0.00028 -5.4325E-07 1E-12 terminate
1.92174 1.92174 1.92174 -5.4E-07 1.0019E-12
0
terminate
1.92174 1.92174 1.92174
1E-12
0
0
terminate
1.92174 1.92174 #DIV/0!
0
0
#DIV/0! #DIV/0!
1.92174 #DIV/0! #DIV/0!
0
#DIV/0!
#DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0!
#DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0!
#DIV/0! #DIV/0!
Transcedental Func.:
2sin[sqrt(x)]-x
term. condition:
0.0001
(func. from no. 6.2, page 171)
x0
x1
x2
f(x0)
f(x1)
f(x2)
remarks
1
2
1.96541 0.68294 -0.02446811 0.00614 continue
2
1.96541 1.97235 -0.02447 0.00614063 2.7E-05 terminate
1.96541 1.97235 1.97238 0.00614 2.6721E-05 -3E-08 terminate
1.97235 1.97238 1.97238 2.7E-05 -2.9627E-08 1.4E-13 terminate
1.97238 1.97238 1.97238 -3E-08 1.4233E-13
0
terminate
1.97238 1.97238 1.97238 1.4E-13
0
0
terminate
1.97238 1.97238 #DIV/0!
0
0
#DIV/0! #DIV/0!
1.97238 #DIV/0! #DIV/0!
0
#DIV/0!
#DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0!
#DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0!
#DIV/0! #DIV/0!

Polynomial Func.:
2x^3 - 11.7x^2 + 17.7x - 5
(func. from no. 6.2, page 171)
x0
x1
f(x0)
f'(x0)
1
-9
3
0.3
-9
-5.40207 -2570
714.3
-5.40207 -3.02947 -757.341 319.203
-3.02947 -1.48684 -221.608 143.656
-1.48684 -0.51726 -63.7561 65.7562
-0.51726 0.0419 -17.5626 31.4092
0.0419 0.29765 -4.27877 16.7301
0.29765 0.36115 -0.71539 11.2665
0.36115 0.36508 -0.03946 10.0317
0.36508 0.3651 -0.00015 9.95676
0.3651
0.3651 -2.1E-09 9.95648
Transcedental Func.:
2sin[sqrt(x)]-x
(func. from no. 6.2, page 171)
x0
x1
f(x0)
1
2.48563 0.682942
2.48563 2.00436 -0.48567
2.00436 1.96808 -0.02835
1.96808 1.97303 0.003793
1.97303 1.97228 -0.00057
1.97228 1.9724 8.57E-05
1.9724 1.97238 -1.3E-05
1.97238 1.97238 1.91E-06
1.97238 1.97238 -2.9E-07
1.97238 1.97238 4.27E-08
1.97238 1.97238 -6.4E-09

term. condition:
f(x1)
remarks
-2570
continue
-757.341 continue
-221.608 continue
-63.7561 continue
-17.5626 continue
-4.27877 continue
-0.71539 continue
-0.03946 continue
-0.00015 continue
-2.1E-09 terminate
0
terminate

term. condition:
f'(x0)
-0.4597
-1.00913
-0.78138
-0.76554
-0.76769
-0.76737
-0.76741
-0.76741
-0.76741
-0.76741
-0.76741

f(x1)
-0.48567
-0.48567
-0.02835
0.003793
-0.00057
8.57E-05
-1.3E-05
1.91E-06
-2.9E-07
4.27E-08
-6.4E-09

0.0001
remarks
continue
continue
continue
continue
continue
terminate
terminate
terminate
terminate
terminate
terminate

0.0001

Function:

f(x) = 2.5x^3 - 6x^2 - 3x - 4

a3 =
a2 =
a1 =
a0 =

2.5
-6
-3
-4

r
0
Det r
-28
r
-0.64368
Det r
4.441286
r
-0.57997
Det r
-0.16082
r
-0.58228
Det r
0.000336
r
-0.58227
Det r
6.26E-10

s
0
Det s
-15
s
-0.34483
Det s
-12.5058
s
-0.52423
Det s
-0.85482
s
-0.53652
Det s
0.000824
s
-0.5365
Det s
6.15E-10

Terminating Condition:
(Er = Es) <=
0.05
%
b3 =
2.5 c3 =
2.5
b2
b1
b0
c2
c1
-6
-3
-4
-6
-3
-7.6092 1.035804 -2.04286 -9.21839 6.107412
-7.44992 0.010148 -0.10045 -8.89984 3.861201
-7.4557 1.34E-05 8.67E-05
-8.9114 3.84765
-7.45569 5.79E-11
4.4E-11 -8.91137 3.84761

b0
-4
delta r
-0.64368
b0
-2.04286
delta r
0.063711
b0
-0.10045
delta r
-0.00231
b0
8.67E-05
delta r
4.81E-06
b0
4.4E-11
delta r
8.97E-12

b1
-3
delta s
-0.34483
b1
1.035804
delta s
-0.1794
b1
0.010148
delta s
-0.01229
b1
1.34E-05
delta s
1.18E-05
b1
5.79E-11
delta s
8.82E-12

c1
-3
r*
-0.64368
c1
6.107412
r*
-0.57997
c1
3.861201
r*
-0.58228
c1
3.84765
r*
-0.58227
c1
3.84761
r*
-0.58227

c2
c3
Det D
remarks
-6
2.5
43.5
continue
s*
r
s
-0.34483
100
100
c2
c3
Det D
remarks
-9.21839
2.5
69.7102
continue
s*
r
s
-0.52423 10.98522 34.22147
c2
c3
Det D
remarks
-8.89984
2.5
69.5541
continue
s*
r
s
-0.53652 0.397075 2.290696
c2
c3
Det D
remarks
-8.9114
2.5
69.79388
terminate
s*
r
s
-0.5365 0.000827 0.002201
c2
c3
Det D
remarks
-8.91137
2.5
69.79356
terminate
s*
r
s
-0.5365 1.54E-09 1.64E-09

MATRICES
DELTA r:
3
2.5
4
-6
;
-6
2.5
-3
-6
-1.3E-05
2.5
-8.7E-05 -8.9114
;
-8.9114
2.5
3.84765 -8.9114
DELTA s:
-6
3
-3
4
;
-6
2.5
-3
-6
-8.9114 -1.3E-05
3.84765 -8.7E-05
;
-8.9114
2.5
3.84765 -8.9114

-1.0358
2.042864
;
-9.21839
6.107412
-5.8E-11
-4.4E-11
;
-8.91137
3.84761

2.5
-0.01015
2.5
-9.21839 0.100451 -8.89984
;
2.5
-8.89984
2.5
-9.21839 3.861201 -8.89984
2.5
-8.91137
2.5
-8.91137

-9.21839 -1.0358 -8.89984 -0.01015


6.107412 2.042864 3.861201 0.100451
;
;
-9.21839
2.5
-8.89984
2.5
6.107412 -9.21839 3.861201 -8.89984
-8.91137 -5.8E-11
3.84761 -4.4E-11
;
-8.91137
2.5
3.84761 -8.91137

Function:
f(x) = 2.5x^3 - 6x^2 - 3x - 4
terminating condition:
|(x3-x2)/x2|*100% < 0.0001
x0
2
1
29
x0
3
1
37.31573
x0
4
1
30.366
x0
3.550662
1
30.75434
x0
3.572213
1
30.81109

x1
3
a
12
x1
4
a
15.10132
x1
3.550662
a
16.24575
x1
3.572213
a
15.39752
x1
3.575883
a
15.44796

x2
4
b
41
x2
3.550662
b
30.53013
x2
3.572213
b
30.71611
x2
3.575883
b
30.81086
x2
3.575886
b
30.81113

h0
1
c
16
h0
1
c
-0.76737
h0
-0.44934
c
-0.11297
h0
0.021551
c
-7.9E-05
h0
0.003671
c
4.72E-10

h1
1
D
30.21589
h1
-0.44934
D
31.28006
h1
0.021551
D
30.83537
h1
0.003671
D
30.81094
h1
2.55E-06
D
30.81113

0
5
x3
3.550662
0
29
x3
3.572213
0
37.31573
x3
3.575883
0
30.366
x3
3.575886
0
30.75434
x3
3.575886

remarks
continue
remarks
continue
remarks
continue
remarks
terminate
remarks
terminate

f(x0)
-18
-13
16
-0.76737
-0.11297

f(x1)
-13
16
-0.76737
-0.11297
-7.9E-05

f(x2)
16
-0.76737
-0.11297
-7.9E-05
4.72E-10

10.2 page 293


Given:
7
2
1
Matrix [L] Array
L11
L12
7
0
L21
L22
2
4.4286
L31
L32
1
-1.2857

2
5
-1

L13
0
L23
0
L33
-6.1935

-3
-3
-6

-12
-20
-26
Matrix [U] Array
U11
U12
1
0.2857
U21
U22
0
1
U31
U32
0
0

U13
-0.4286
U23
-0.4839
U33
1

10.2 page 293


Given:
7
2
1
Matrix [L] Array
L11
L12
1
0
L21
L22
2
1.0000
L31
L32
1
-3.0000

2
5
-1

L13
0
L23
0
L33
1.0000

-3
-3
-6

-12
-20
-26
Matrix [U] Array
U11
U12
1
2.0000
U21
U22
0
1
U31
U32
0
0

U13
-3.0000
U23
3.0000
U33
1

Given:

Terminating Cond.:
x1
x2
2.01475 -0.02088
-0.02088 2.01475
0
-0.02088
0
0
K
0
1
2
3
4
5
6
7
8
9
10

X1
0
62.53878
62.53878
62.54549
62.54551
62.54551
62.54551
62.54551
62.54551
62.54551
62.54551

0.001 (11.3, page 312)


x3
x4
xn
0
0
126
-0.02088
0
0
2.01475 -0.02088
0
-0.02088 2.01475
30
X2
0
0
0.64797
0.649568
0.649707
0.649708
0.649708
0.649708
0.649708
0.649708
0.649708

X3
0
0
0.154279
0.160992
0.161025
0.161027
0.161027
0.161027
0.161027
0.161027
0.161027

X4
0
14.89018
14.89018
14.89178
14.89185
14.89185
14.89185
14.89185
14.89185
14.89185
14.89185

remarks
Continue
Continue
Continue
Terminate
Terminate
Terminate
Terminate
Terminate
Terminate
Terminate
Continue

Given:

Terminating Cond.:
x1
x2
2.01475 -0.02088
-0.02088 2.01475
0
-0.02088
0
0
K
0
1
2
3
4
5
6
7
8
9
10

X1
0
62.53878
62.5523
62.55231
62.55234
62.55234
62.55234
62.55234
62.55234
62.55234
62.55234

0.001 (11.3, page 312)


x3
x4
xn
0
0
126
-0.02088
0
0
2.01475 -0.02088
0
-0.02088 2.01475
30
X2
0
1.305497
1.306062
1.309283
1.309284
1.309284
1.309284
1.309284
1.309284
1.309284
1.309284

X3
0
0.013526
0.167812
0.167862
0.167862
0.167862
0.167862
0.167862
0.167862
0.167862
0.167862

X4
0
14.89033
14.89192
14.89192
14.89192
14.89192
14.89192
14.89192
14.89192
14.89192
14.89192

remarks
Continue
Continue
Continue
Terminate
Terminate
Terminate
Terminate
Terminate
Terminate
Terminate
Continue

Given Data Values:


(from 17.16, page 486)

sum:

X
F(X)

5
17

10
24

15
31

x
5.00
10.00
15.00
20.00
25.00
30.00
35.00
40.00
45.00
50.00
275.00

y
17.00
24.00
31.00
33.00
37.00
37.00
40.00
40.00
42.00
41.00
342.00

x^2
25.00
100.00
225.00
400.00
625.00
900.00
1225.00
1600.00
2025.00
2500.00
9625.00

xy
85.00
240.00
465.00
660.00
925.00
1110.00
1400.00
1600.00
1890.00
2050.00
10425.00

20
33

25
37

30
37

ym
ei^2 y-ymean
-14.96 1021.32 -40.00
-6.15 908.83 -33.00
2.66 802.91 -26.00
11.48 463.30 -24.00
20.29 279.33 -20.00
29.10 62.44 -20.00
37.91
4.37
-17.00
46.72 45.16 -17.00
55.53 183.10 -15.00
64.34 544.88 -16.00

35
40

40
40
a1
ymean
xmean
a0

45
42
1.76224
57
45.8333
-23.769

50
41

Given Data Values:

10

15

20

25

30

35

40

F(X)

17

24

31

33

37

37

40

40

(from 17.16, page 486)

sum:

x^2

x^3

x^4

xy

x^2y

ym

ei

5.00

17.00

25.00

125.00

625.00

85.00

425.00

18.25

1.25

10.00

24.00

100.00

1000.00

10000.00

240.00

2400.00

23.94

-0.06

15.00

31.00

225.00

3375.00

50625.00

465.00

6975.00

28.82

-2.18

20.00

33.00

400.00

8000.00

160000.00

660.00

13200.00

32.90

-0.10

25.00

37.00

625.00

15625.00

390625.00

925.00

23125.00

36.18

-0.82

30.00

37.00

900.00

27000.00

810000.00

1110.00

33300.00

38.65

1.65

35.00

40.00

1225.00

42875.00

1500625.00

1400.00

49000.00

40.32

0.32

40.00

40.00

1600.00

64000.00

2560000.00

1600.00

64000.00

41.18

1.18

45.00

42.00

2025.00

91125.00

4100625.00

1890.00

85050.00

41.25

-0.75

50.00

41.00

2500.00

125000.00

6250000.00

2050.00

102500.00

40.51

-0.49

275.00

342.00

9625.00

378125.00

15833125.00

10425.00

379975.00

-823.90

-1165.90

a0

11.77

10.00

275.00

9625.00

10.00

342.00

a1

1.38

275.00

9625.00

378125.00

275.00

10425.00

a2

-0.02

9625.00

378125.00

15833125.00

9625.00

379975.00

342.00

275.00

9625.00

10.00

275.00

10425.00

9625.00

378125.00

275.00

9625.00

379975.00

378125.00

15833125.00

9625.00

378125.00

45

50

42

41

9625.00
378125.00
15833125.00

342.00
10425.00
379975.00

(from 18.12, page 522)


Data Points
x
2.5
f(x)
3.16

3
5.625

Lo(x)f(xo)
x4
x3
0.361143 -6.68114

x2
45.504

L1(x)f(x1)
x4
-1.25

x3
22.5

x3
58.432

5
9.13

x2
-336.897

6
12

x
k
M.factor
-134.887 146.2629 0.361143

x2
x
k
-147.813 417.1875 -421.875

L2(x)f(x2)
x4
x3
x2
3.751111 -61.8933 367.6089
L3(x)f(x3)
x4
-3.652

4.5
8.44

M.factor
-1.25

x
-928.4

k
844

M.factor
3.751111

x
829.917

k
-739.53

M.factor
-3.652

L4(x)f(x4)
x4
x3
x2
x
k
M.factor
0.761905 -11.4286 62.66667 -148.571 128.5714 0.761905
fn(x)
x4
x3
x2
x
k
-0.02784 0.928952 -8.92994 35.24621 -42.5707

GIVEN[xi and f(xi)]: (from 18.5, page 522)


xi
f(xi)
delta'f[x]
delta''f[x]
1
3
2
6
3
3
19
13
5
5
99
40
9
7
291
96
14
8
444
153
19

bo
3

b1
153

b2
19

b3
1

delta'''f[x]

delta''''f[x]

delta'''''f[x]

1
1
1

0
0

-7.77142857

b4
0

b5
-7.77142857

(21.12, page 628)


n=
16
Function:
h=
0.5
x
f(x)
2
2.1136
2.5
5.121094
3
6.2651
3.5
6.226694
4
5.5776
4.5
4.780194
5
4.1875
5.5
4.043194
6
4.4816
6.5
5.527694
7
7.0971
7.5
8.996094
8
10.9216
8.5
12.46119
9
13.0931
9.5
12.18619
10
9
f(x)s
I=
45.35547
Romberg Integration
k
n
h
1
1
8
2
2
4
3
4
2
4
8
1
5
16
0.5

f(x)= -0.0729x^4 + 1.73x^3 - 13.8x^2 + 45.4x - 46


f(x) and trapezoidal pattern product
2.1136
10.2421875
6.2651
12.4533875
5.5776
9.5603875
4.1875
8.0863875
4.4816
11.0553875
7.0971
17.9921875
10.9216
24.9223875
13.0931
24.3723875
9
181.4219

I(h)
362.8438
181.4219
90.71095
45.35547
22.67774

pattern
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1

k=2
k=3
k=4
k=5
120.9479 51.83483 24.18959 11.70464
60.47397 25.91741 12.09479
30.23698 12.95871
15.11849

a=
b=

2
10

(21.12, page 628)


n=
16
Function:
h=
0.5
x
f(x)
2
2.1136
2.5
5.121094
3
6.2651
3.5
6.226694
4
5.5776
4.5
4.780194
5
4.1875
5.5
4.043194
6
4.4816
6.5
5.527694
7
7.0971
7.5
8.996094
8
10.9216
8.5
12.46119
9
13.0931
9.5
12.18619
10
9
f(x)s
I=
58.6217
Romberg Integration
k
n
h
1
1
8
2
2
4
3
4
2
4
8
1
5
16
0.5

f(x)= -0.0729x^4 + ^3 - 13.8x^2 + 45.4x - 46


f(x) and trapezoidal pattern product
2.1136
20.484375
12.5302
24.906775
11.1552
19.120775
8.375
16.172775
8.9632
22.110775
14.1942
35.984375
21.8432
49.844775
26.1862
48.744775
9
351.7302

I(h)
468.9736
234.4868
117.2434
58.6217
29.31085

a=
b=
pattern
1
4
2
4
2
4
2
4
2
4
2
4
2
4
2
4
1

k=2
k=3
k=4
k=5
156.3245 66.99623 31.26491 15.12818
78.16227 33.49811 15.63245
39.08113 16.74906
19.54057

2
10

(21.12, page 628)


n=
16
Function:
h=
0.5
x
f(x)
2
2.1136
2.5
5.121094
3
6.2651
3.5
6.226694
4
5.5776
4.5
4.780194
5
4.1875
5.5
4.043194
6
4.4816
6.5
5.527694
7
7.0971
7.5
8.996094
8
10.9216
8.5
12.46119
9
13.0931
9.5
12.18619
10
9
f(x)s
I=
57.18033
Romberg Integration
k
n
h
1
1
8
2
2
4
3
4
2
4
8
1
5
16
0.5

f(x)= -0.0729x^4 + ^3 - 13.8x^2 + 45.4x - 46


f(x) and trapezoidal pattern product
2.1136
15.36328125
18.7953
12.4533875
16.7328
14.34058125
8.375
12.12958125
13.4448
11.0553875
21.2913
26.98828125
21.8432
37.38358125
39.2793
24.3723875
9
304.9617687

I(h)
457.4427
228.7213
114.3607
57.18033
28.59017

a=
b=
pattern
1
3
3
2
3
3
2
3
3
2
3
3
2
3
3
2
1

k=2
k=3
k=4
k=5
152.4809 65.34895 30.49618 14.75621
76.24044 32.67448 15.24809
38.12022 16.33724
19.06011

2
10

(function from 23.19, page 669)


f(x) = e^(-2x) - x
Xi
f(Xi)
1
0.5
-12.875
0.5
1
-10
0.25
1.5
-5.625
0.125
2
1
Richardson's Extrapolation
k
h
D(h)
1
1
7.25
2
0.5
8.75
3
0.25
11.9375
4
0.125
16.76563

Xi+1
1.5
1.5
1.75
2.125

f(Xi+1)
f'(Xi)
-5.625
7.25
-5.625
8.75
-2.64063 11.9375
3.095703 16.76563

k=2
9.25
13
18.375

k=3
k=4
13.53571 19.51667
19.14286

(function from 23.19, page 669)


f(x) = e^(-2x) - x
h
Xi
f(Xi)
1
0.5
-12.875
0.5
1
-10
0.25
1.5
-5.625
0.125
2
-1.98168
Richardson's Extrapolation
k
h
D(h)
1
1
4.25
2
0.5
5.75
3
0.25
9.6875
4
0.125
-8.58785

Xi-1
-0.5
0.5
1.25
1.875

f(Xi-1)
-17.125
-12.875
-8.04688
-0.9082

f'(Xi)
4.25
5.75
9.6875
-8.58785

k=2
k=3
k=4
6.25
11.67857 -20.3499
11
-18.3482
-14.6796

(function from 23.19, page 669)


f(x) = e^(-2x) - x
h
Xi-1
Xi+1
f(Xi-1)
f(Xi+1)
f'(Xi)
1
-0.5
1.5
-17.125
-5.625
5.75
0.5
0.5
1.5
-12.875
-5.625
7.25
0.25
1.25
1.75
-8.04688 -2.64063 10.8125
0.125
1.875
2.125
-0.9082 3.095703 16.01563
Richardson's Extrapolation
k
h
D(h)
1
1
5.75
2
0.5
7.25
3
0.25
10.8125
4
0.125
16.01563

k=2
7.75
12
17.75

k=3
k=4
12.60714 18.96905
18.57143

Xi
0.5
1
1.5
2

You might also like