Bolia - ENNUMA1L - LAB 6
Bolia - ENNUMA1L - LAB 6
BSCE211C
ENNUMA1L
A C
EQN. 3 25 -4 9 -16 5 -2
EQN. 5 0 4 0 3 0 8
EQN. 4 2 0 -5 0 3 3
EQN. 2 -0.5 6 2 -8 4 0
EQN. 1 1 -2 3 -4 5 -12
GAUSS-SEIDEL METHOD
ERROR
# A1 A2 A3 A4 A5
A1 A2
0 0 0 0 0 0
1 - 0.080000 2.000000 - 0.632000 1.347000 - 0.127200 0.080000 2.000000
2 1.355040 0.989750 - 0.134304 0.560447 - 1.746168 1.435040 1.010250
3 0.834629 1.579665 - 1.313849 - 0.068962 - 1.201920 0.520411 0.589915
4 0.841980 2.051722 - 0.984360 0.639118 - 0.645798 0.007352 0.472056
5 1.140840 1.520662 - 0.531143 0.613509 - 1.210410 0.298859 0.531060
6 0.989245 1.539868 - 0.930548 0.255231 - 1.219388 0.151594 0.019206
7 0.908602 1.808577 - 0.968192 0.447903 - 0.919052 0.080644 0.268709
8 1.028390 1.664073 - 0.740075 0.539235 - 1.064615 0.119788 0.144504
9 1.010713 1.595573 - 0.834484 0.392582 - 1.149157 0.017677 0.068500
10 0.956790 1.705564 - 0.906778 0.418100 - 1.030585 0.053923 0.109990
11 0.993032 1.686425 - 0.821139 0.482177 - 1.045612 0.036242 0.019139
12 1.003153 1.638367 - 0.826106 0.436746 - 1.100223 0.010122 0.048058
13 0.979099 1.672440 - 0.868494 0.425901 - 1.065026 0.024054 0.034073
14 0.985830 1.680574 - 0.844683 0.455132 - 1.054021 0.006731 0.008134
15 0.995067 1.658651 - 0.834386 0.446190 - 1.077970 0.009236 0.021923
16 0.986918 1.665358 - 0.852015 0.435347 - 1.071754 0.008148 0.006707
17 0.986156 1.673489 - 0.848590 0.445458 - 1.062315 0.000763 0.008132
18 0.990807 1.665907 - 0.841066 0.446080 - 1.070295 0.004651 0.007583
19 0.988879 1.665440 - 0.846625 0.440471 - 1.071248 0.001927 0.000467
20 0.987407 1.669647 - 0.847786 0.442951 - 1.066590 0.001473 0.004207
21 0.989153 1.667786 - 0.844293 0.444650 - 1.068421 0.001747 0.001860
22 0.989051 1.666513 - 0.845432 0.442500 - 1.069946 0.000102 0.001274
23 0.988187 1.668125 - 0.846693 0.442686 - 1.068223 0.000864 0.001612
24 0.988673 1.667986 - 0.845465 0.443719 - 1.068286 0.000486 0.000139
25 0.988883 1.667211 - 0.845419 0.443105 - 1.069157 0.000210 0.000775
26 0.988523 1.667671 - 0.846085 0.442871 - 1.068688 0.000360 0.000461
27 0.988593 1.667847 - 0.845776 0.443310 - 1.068466 0.000070 0.000176
28 0.988746 1.667518 - 0.845581 0.443213 - 1.068823 0.000153 0.000329
29 0.988633 1.667590 - 0.845841 0.443031 - 1.068761 0.000113 0.000073
30 0.988609 1.667726 - 0.845813 0.443173 - 1.068605 0.000024 0.000136
31 0.988681 1.667620 - 0.845691 0.443197 - 1.068716 0.000071 0.000106
32 0.988657 1.667602 - 0.845766 0.443111 - 1.068742 0.000023 0.000018
33 0.988632 1.667667 - 0.845793 0.443141 - 1.068671 0.000026 0.000065
ITERATION EQUATION SUMMARY
(2-4*A2-9*A3-16*A4-5*A5) The solution to the system of linear equation using
A1
25
(8-0*A1-0*A2-3*A4-0*A5) a1 =
A2
4 a2 =
(3-2*A1-0*A2-0*A4-3*A5) a3 =
A3
-5 a4 =
(0-(-0.5)*A1-6*A2-2*A3-4*A5) a5 =
A4
-8
(12-1*A1-2*A2-3*A3-4*A4) Terminates at the 32nd Iteration with less tha
A5
5 note: the initial value used are a1=a2=
ERROR
REMARKS
A3 A4 A5
0.9889
1.6654
-0.8466
0.4405
-1.0712
Coeffecient Correlation
r= 0.965836849
since r = 0.965836849, therefore there is a stong positive relationship between the femur length and heigh
Correlation of determination
r= 0.932840818
Having r^2 = 0.965837 means that about 96.58% of the variation in dependent variable, height, is explained by
the variation of independent varibale, femur length. While the rest 3.42% is unexplain
If Jeremie was ask to predict the height when the femur length is 40 cm, what would she say?
X Y
40 157.60
26797.69
165
28324.89 160
27225 155
24149.16 150
24025 145
219680 140
36 38 40 42 44 46 48 50 52
Height
LINEAR REGRESSION
y= 80.681 + 1.923x
h?