Professional Documents
Culture Documents
ADMATH Excel
ADMATH Excel
Nonlinear Regression
Equation:
𝑓(𝑥)=𝑥^4−𝑥=10 𝑥=√(4&𝑥+10)
x g(x)
1.00 1.821160
1.821160 1.854236
1.854236 1.855532
1.855532 1.855582 Root 1.855585
1.855582 1.855584
1.855584 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
1.855585 1.855585
(4&𝑥+10)
Equation:
𝑓(𝑥)=𝑥−𝑐𝑜𝑠𝑥
a b f(a) f(b) c
2 -3 2.416146837 -2.010007503 -0.5
2 -0.5 2.416146837 -1.377582562 0.75
0.75 -0.5 0.018311131 -1.377582562 0.125
0.75 0.125 0.018311131 -0.867197667 0.4375
0.75 0.4375 0.018311131 -0.468313683 0.59375
0.75000 0.59375 0.018311131 -0.235098488 0.67188
0.75000 0.67188 0.018311131 -0.11078094 0.71094
0.75000 0.71094 0.018311131 -0.046812949 0.73047
0.75000 0.73047 0.018311131 -0.014392975 0.74023
0.74023 0.73047 0.001923873 -0.014392975 0.73535
0.74023 0.73535 0.001923873 -0.006243392 0.73779
0.74023 0.73779 0.001923873 -0.002161965 0.73901
0.74023 0.73901 0.001923873 -0.000119597 0.73962
0.73962 0.73901 0.000902 -0.000119597 0.73932
0.73932 0.73901 0.000391167 -0.000119597 0.73917
0.73917 0.73901 0.000135777 -0.000119597 0.73909
0.73909 0.73901 8.087915E-06 -0.000119597 0.73905
0.73909 0.73905 8.087915E-06 -5.57549E-05 0.73907
0.73909 0.73907 8.087915E-06 -2.38336E-05 0.73908
0.73909 0.73908 8.087915E-06 -7.87289E-06 0.73909
0.73909 0.73908 1.075021E-07 -7.87289E-06 0.73908
0.73909 0.73908 1.075021E-07 -3.8827E-06 0.73908
0.73909 0.73908 1.075021E-07 -1.8876E-06 0.73908
0.73909 0.73908 1.075021E-07 -8.90048E-07 0.73908
0.73909 0.73908 1.075021E-07 -3.91273E-07 0.73909
0.73909 0.73909 1.075021E-07 -1.41886E-07 0.73909
0.73909 0.73909 1.075021E-07 -1.71917E-08 0.73909
0.73909 0.73909 4.515517E-08 -1.71917E-08 0.73909
0.73909 0.73909 1.398172E-08 -1.71917E-08 0.73909
0.73909 0.73909 1.398172E-08 -1.60501E-09 0.73909
0.73909 0.73909 6.188352E-09 -1.60501E-09 0.73909
0.73909 0.73909 2.29167E-09 -1.60501E-09 0.73909
0.73909 0.73909 3.433295E-10 -1.60501E-09 0.73909
0.73909 0.73909 3.433295E-10 -6.30841E-10 0.73909
f(c) anew bnew
-1.377582562 2 -0.5
0.018311131 0.75 -0.5
-0.867197667 0.75 0.125
-0.468313683 0.75 0.4375 Root 0.73909
-0.235098488 0.75 0.59375
-0.11078094 0.75000 0.67188
-0.046812949 0.75000 0.71094
-0.014392975 0.75000 0.73047
0.001923873 0.74023 0.73047
-0.006243392 0.74023 0.73535
-0.002161965 0.74023 0.73779
-0.000119597 0.74023 0.73901
0.000902 0.73962 0.73901
0.000391167 0.73932 0.73901
0.000135777 0.73917 0.73901
8.087915E-06 0.73909 0.73901
-5.57549E-05 0.73909 0.73905
-2.38336E-05 0.73909 0.73907
-7.87289E-06 0.73909 0.73908
1.075021E-07 0.73909 0.73908
-3.8827E-06 0.73909 0.73908
-1.8876E-06 0.73909 0.73908
-8.90048E-07 0.73909 0.73908
-3.91273E-07 0.73909 0.73908
-1.41886E-07 0.73909 0.73909
-1.71917E-08 0.73909 0.73909
4.515517E-08 0.73909 0.73909
1.398172E-08 0.73909 0.73909
-1.60501E-09 0.73909 0.73909
6.188352E-09 0.73909 0.73909
2.29167E-09 0.73909 0.73909
3.433295E-10 0.73909 0.73909
-6.30841E-10 0.73909 0.73909
-1.43756E-10 0.73909 0.73909 Root 0.73909
Equation:
𝑓(𝑥)=𝑥−𝑐𝑜𝑠𝑥
a b f(a) f(b) c
2 -2 2.41615 -1.58385 -0.41615
2.00000 -0.41615 2.41615 -1.33080 0.44199
2.00000 0.44199 2.41615 -0.46191 0.69204
2.00000 0.69204 2.41615 -0.07790 0.73290
2.00000 0.73290 2.41615 -0.01034 0.73830
2.00000 0.73830 2.41615 -0.00132 0.73899
2.00000 0.73899 2.41615 -0.00017 0.73907
2.00000 0.73907 2.41615 -0.00002 0.73908
2.00000 0.73908 2.41615 0.00000 0.73908
2.00000 0.73908 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
2.00000 0.73909 2.41615 0.00000 0.73909
f(c) anew bnew
-1.330800162 2.00000 -0.41615
-0.461906401 2.00000 0.44199
-0.077901616 2.00000 0.69204
-0.010342931 2.00000 0.73290 Root 0.739085
-0.001317639 2.00000 0.73830
-0.000166937 2.00000 0.73899
-2.1135E-05 2.00000 0.73907
-2.67556E-06 2.00000 0.73908
-3.38704E-07 2.00000 0.73908
-4.28772E-08 2.00000 0.73909
-5.4279E-09 2.00000 0.73909
-6.87129E-10 2.00000 0.73909
-8.6985E-11 2.00000 0.73909
-1.10116E-11 2.00000 0.73909
-1.39389E-12 2.00000 0.73909
-1.76414E-13 2.00000 0.73909
-2.22045E-14 2.00000 0.73909
-2.88658E-15 2.00000 0.73909
0 2.00000 0.73909
0 2.00000 0.73909
0 2.00000 0.73909
0 2.00000 0.73909
0 2.00000 0.73909
0 2.00000 0.73909
0 2.00000 0.73909
0 2.00000 0.73909
0 2.00000 0.73909
0 2.00000 0.73909
0 2.00000 0.73909
0 2.00000 0.73909
0 2.00000 0.73909
0 2.00000 0.73909
0 2.00000 0.73909
0 2.00000 0.73909 Root 0.739085
Equation:
𝑓(𝑥)=𝑥−𝑐𝑜𝑠𝑥
0.739085
Equation:
𝑓(𝑥)=𝑥−𝑐𝑜𝑠𝑥
Root
𝑥_1= 𝑥_1=(1−𝑥
𝑥_2= 𝑥_2=(3−𝑥
𝑥_3= 𝑥_3=(3−2
𝑥_4= 𝑥_4=
𝑥_5= 𝑥_5=
x1 x2 x3 x4 x5
0 0 0 0 0
0.333333333 -0.6 0.6
0.33333 -0.29333 0.58667
0.23556 -0.29867 0.52533
0.25778 -0.34276 0.56551
0.25908 -0.32224 0.56544
0.25227 -0.32201 0.56082
0.25373 -0.32522 0.56349
0.25391 -0.32386 0.56355
0.25343 -0.32380 0.56321
0.25353 -0.32403 0.56339
0.25355 -0.32394 0.56339
0.25352 -0.32393 0.56337
0.25352 -0.32395 0.56338
0.25352 -0.32394 0.56338
0.25352 -0.32394 0.56338
0.25352 -0.32394 0.56338
0.25352 -0.32394 0.56338
0.25352 -0.32394 0.56338
0.25352 -0.32394 0.56338
0.25352 -0.32394 0.56338
0.25352 -0.32394 0.56338
0.25352 -0.32394 0.56338
0.25352 -0.32394 0.56338
0.25352 -0.32394 0.56338
0.25352 -0.32394 0.56338
0.25352 -0.32394 0.56338
0.25352 -0.32394 0.56338
𝑥_1=(1−𝑥_2−𝑥_3)/3
𝑥_2=(3−𝑥_1−2𝑥_3)/(−5)
𝑥_3=(3−2𝑥_1−𝑥_2)/5
𝑥_4=
𝑥_5=
x1 0.253521
x2 -0.32394
x3 0.56338
x4 0
x5 0
𝑥_1= 𝑥_1=(1−𝑥
𝑥_2= 𝑥_2=(3−𝑥
𝑥_3= 𝑥_3=(3−2
𝑥_4= 𝑥_4=
𝑥_5= 𝑥_5=
x1 x2 x3 x4 x5
0 0 0 0 0
0.333333333 -0.533333333 0.573333333
0.320000 -0.306667 0.533333
0.257778 -0.335111 0.563911
0.257067 -0.323022 0.561778
0.253748 -0.324539 0.563409
0.253710 -0.323895 0.563295
0.253533 -0.323975 0.563382
0.253531 -0.323941 0.563376
0.253522 -0.323945 0.563380
0.253522 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
0.253521 -0.323944 0.563380
𝑥_1=(1−𝑥_2−𝑥_3)/3
𝑥_2=(3−𝑥_1−2𝑥_3)/(−5)
𝑥_3=(3−2𝑥_1−𝑥_2)/5
𝑥_4=
𝑥_5=
x1 0.253521
x2 -0.32394
x3 0.56338
x4 0
x5 0
x y xy x^2 y^2
20 25.3 506 400 640.09 xbar 30
25 30.8 770 625 948.64 ybar 39.62
30 41.1 1233 900 1689.21 xybar 1261.3
35 47.7 1669.5 1225 2275.29 x^2bar 950
40 53.2 2128 1600 2830.24 y^2bar 1676.694
0 0 0
0 0 0
0 0 0 B (slope) 1.454
0 0 0 A -4
0 0 0 r^2 0.98837
0 0 0
Equation: y=
SHORTCUT
slope 1.454
intercept -4
r^2 0.98837
60
40
30
20
10
0
15 20 25 30 35 40 45
-4 + 1.454 x
LINEARIZATION
x y 1/x 1/y
3 4.58 0.333333 0.218341 slope (b/a) 0.466488
5 6.4 0.2 0.15625 int (1/a) 0.062878
7 7.72 0.142857 0.129534 r^2 1
9 8.72 0.111111 0.114679
11 9.5 0.090909 0.105263 a 15.90375
#DIV/0! #DIV/0! b 7.418913
#DIV/0! #DIV/0!
#DIV/0! #DIV/0!
#DIV/0! #DIV/0!
#DIV/0! #DIV/0!
#DIV/0! #DIV/0!
#DIV/0! #DIV/0!
x y lnx lny
0.53 0.7832 -0.63488 -0.24437 slope (n) 0.349872
0.89 0.939 -0.11653 -0.06294 int (lna) -0.02208
1.2 1.043 0.182322 0.042101 r^2 1
3.5 1.516 1.252763 0.416075
5.5 1.776 1.704748 0.574364 a 0.978161
Err:502 Err:502 n 0.349872
Err:502 Err:502
Err:502 Err:502
Err:502 Err:502
Err:502 Err:502
Err:502 Err:502
Err:502 Err:502
NONLINEAR REGRESSION
x y yreg error error^2 a b
0 0.1 0.153695 -0.0537 0.002883 0.153695 1.772745
1.3 0.5 0.387727 0.112273 0.012605
2.8 0.9 1.044314 -0.14431 0.020827
5 2.6 2.509889 0.090111 0.00812
10.2 7.1 7.036685 0.063315 0.004009
16.5 12.3 12.31664 -0.01664 0.000277
21.3 15.3 15.5015 -0.2015 0.040601
31.8 20.4 20.15376 0.24624 0.060634
52.2 24.2 24.28624 -0.08624 0.007438
SSE 0.157394
c d
19.3426 28.43841
Equation:
∫25_1^4▒(cos𝑥/𝑥+𝑥^3 𝑒^(−𝑥) sin𝑥+2 ln𝑥 )𝑑𝑥
MIDPOINT
xi xmid f(xmid) delta A
1 h 0.5
1.5 1.25 1.2295775 0.6147888
2 1.75 1.9337822 0.9668911 Total A 5.6289641
2.5 2.25 2.2767981 1.138399
3 2.75 2.1945101 1.097255
3.5 3.25 1.9074113 0.9537056
4 3.75 1.7158491 0.8579246
Equation:
∫25_1^4▒(cos𝑥/𝑥+𝑥^3 𝑒^(−𝑥) sin𝑥+2 ln𝑥 )𝑑𝑥
xi f(xi) del A
1 0.849862 h 0.5
1.5 1.609266 0.614782
2 2.162701 0.942992 Total A 5.589184
2.5 2.279711 1.110603
3 2.056928 1.08416
3.5 1.783803 0.960183
4 1.722053 0.876464
Equation:
∫25_1^4▒(cos𝑥/𝑥+𝑥^3 𝑒^(−𝑥) sin𝑥+2 ln𝑥 )𝑑𝑥
MIDPOINT
DATA
xi xmid f(xmid) delta A
1
1.5 1.25 1.2296 0.61479
2 1.75 1.9338 0.96689
2.5 2.25 2.2768 1.13840
3 2.75 2.1945 1.09726
3.5 3.25 1.9074 0.95371
4 3.75 1.7158 0.85792
TRAPEZOID
f(xi) del A
h 0.5 0.849862
1.609266 0.614782
Total A 5.628964 2.162701 0.942992 Total A 5.589184
2.279711 1.110603
no. strips 7 2.056928 1.084160
1.783803 0.960183
1.722053 0.876464
SIMPSON'S 1/3 SIMPSON'S 3/8
f(xi) del A f(xi) del A
0.849862 0.849862
1.609266 1.609266
2.162701 1.574938 Total A 5.617049 2.162701
2.279711 2.279711 2.708527
2.056928 2.223079 2.056928
1.783803 1.783803
1.722053 1.819032 1.722053 2.910742
ON'S 3/8
N
0
1
2 Total A 5.619269
3
4
5
6
7
8
9
10