Professional Documents
Culture Documents
Cosejo 1/6/2021
BSEE-III
Step 1 by doing a mesh analysis on the circuit we we're able to get the equation for the i1,i3, and i4
10𝑖1 + 20𝑖1 − 20𝑖2 +25𝑖1 − 25𝑖4 =0 25𝐼3 − 25𝐼2 + 8𝐼3 + 4𝐼3 − 4𝐼4 = 0 100𝑉 = 25𝐼4 − 25𝐼1 + 4𝐼4 − 4𝐼3
10𝑖1 + 20𝑖1 − 20(10)+25𝑖1 − 25𝑖4 =0 25𝐼3 − 25(10) + 8𝐼3 + 4𝐼3 − 4𝐼4 = 0 100𝑉 = −25𝐼1 − 4𝐼3 + 29𝐼4 Loop @4
i1 i3 i4 V
55 0 -25 -200 Decimal= 5
0 37 -4 -250 Es= 0.01
-25 -4 29 100
Step 3 Since the eqaution are already arrange, we can start to solve the linear system using the Gauss- Jacobi. Iterate until Es= 0.01%. Express the calculation in five decimal number.
For the first iteration we can assume that they are all zero to substitute into first equation that can be used to calculate a new value for the following
(𝑉1 − 𝑖12 ∗ 𝑖2 − 𝑖13 ∗ 𝑖3 ) (𝑉2− 𝑎21 ∗ 𝑖1 − 𝑎23 ∗ 𝑖3
𝑖1 = 𝑖2 = 𝑖
𝑖11 𝑖22
Step 1 by doing a mesh analysis on the circuit we we're able to get the equation for the i1,i3, and i4
10𝑖1 + 20𝑖1 − 20𝑖2 +25𝑖1 − 25𝑖4 =0 25𝐼3 − 25𝐼2 + 8𝐼3 + 4𝐼3 − 4𝐼4 = 0 100𝑉 = 25𝐼4 − 25𝐼1 + 4𝐼4 − 4𝐼3
10𝑖1 + 20𝑖1 − 20(10)+25𝑖1 − 25𝑖4 =0 25𝐼3 − 25(10) + 8𝐼3 + 4𝐼3 − 4𝐼4 = 0 100𝑉 = −25𝐼1 − 4𝐼3 + 29𝐼4 Loop @4
i1 i2 i3 V
55 0 -25 -200 Decimal= 5
0 37 -4 -250 Es= 0.01
-25 -4 29 100
Step 3 Since the eqaution are already arrange, we can start to solve the linear system using the Gauss- Seidel. Iterate until Es= 0.01%. Express the calculation in five decimal number.
For the first iteration we can assume that they are all zero to substitute into first equation that can be used to calculate a new value for the following.
(𝑉1 − 𝑖12 ∗ 𝑖2 − 𝑖13 ∗ 𝑖3 )
𝑖1 =
𝑖11
(−200 − 0 ∗ 0 − −25 ∗ 0 )
𝑖1 = =−3.6364
55
Step 4 from the above calculated value or the new value will using to substituted with the previous guess of 0 to compute a new value for i2
(−250 − 0 ∗ −3.63636 − −4 ∗ 0 )
𝑖2 = = −6.75676
37
Step 5 in this third equation the value that will be using are the new calculated value of i1 and i2 to calculate a value for the i3.
to get the following data return to the first equation and repeat the entire procedure until it converges closely enough to the true values.
Step 1 In this item it have a three sets of group of equation that Gauss Jacobi method will be using. Arrange the equation what will be the first, second and last
equation and at the same time to make sure that the equation of the diagonal are all non zero to have a simultation process. The first equation should have
the highest value in X. in the second equation should have a highest value in Y. And in the last equation it should have the highest value in Z.
we need to arrange the equation to avoid the equation to be divergent because it must be a convergent.
Step 3 Since the eqaution are already arrange, we can start to solve the linear system using the Gauss- Jacobi. Iterate until Es= 0.01%. Express the calculation in five decimal number.
For the first iteration we can assume that they are all zero to substitute into first equation that can be used to calculate a new value for the following
(𝐶1 −𝑦12 ∗𝑌2 −𝑧13 ∗𝑍3 ) (𝐶2− 𝑥21 ∗𝑋1 −𝑧23 ∗𝑍3
X= Y=
𝑥11 𝑌22
Step 1 In this item it have a three sets of group of equation that Gauss Seidel method will be using. Arrange the equation what will be the first, second and last
equation and at the same time to make sure that the equation of the diagonal are all non zero to have a simultation process. The first equation should have
the highest value in X. in the second equation should have a highest value in Y. And in the last equation it should have the highest value in Z.
we need to arrange the equation to avoid the equation to be divergent because it must be a convergent.
X
Set One The arrange equation Arrangement in Matrix Form
9x+3y+z=13 9x+3y+z=13 X Y Z Constant
−6𝑥 + 8𝑧 = 2 2x+5y-z=6 9 3 1 13
2x+5y-z=6 −6𝑥 + 8𝑧 = 2 2 5 -1 6
-6 0 8 2
Set Two The arrange equation Arrangment in Matrix Form
x+y+6z=8 4x+2y-2z=4 X Y Z Constant
x+5y-z=5 x+5y-z=5 4 2 -2 4
4x+2y-2z=4 x+y+6z=8 1 5 -1 5
1 1 6 8
Step 2 Since the eqaution are already arrange, we can start to solve the linear system using the Gauss- Seidel. Iterate until Es= 0.01%. Express the calculation in six decimal number.
For the first iteration we can assume that they are all zero to substitute into first equation that can be used to calculate a new value for the following.
Step 3 from the above calculated value or the new value will using to substituted with the previous guess of 0 to compute a new value for Y
Step 5 To solve for the following iteration just follow the steps as a guide to get the value.
Set One
x y z CONSTATNT
9 3 1 13 Decimal= 4
2 5 -1 6 Es= 0.01
-6 0 8 2
Step 1 In the table it was already arranged and all the diagonal elements are all non zero
a b c d constant
9 3 -1 2 10 Decimal= 6
1 6 3 2 5 Es= 0.001
3 -1 8 2 12
1 -2 1 4 20
Step 2 Since that it was already arrange the equation according to what will be the first, second, third and last equation and at the same time to make sure that the equation of the
diagonal elements are all non zero to have a simultaneous process .The first equation sholud have the highest value in a.In the second equation should have a
highest value in B. in the third equation should have the highest value in c. And in the last equation it should have the highest value in d.
Step 3 Since the eqaution are already arrange, we can start to solve the linear system using the Gauss- Jacobi. Iterate until Es= 0.01%. Express the calculation in six decimal number.
For the first iteration we can assume that they are all zero to substitute into first equation that can be used to calculate a new value for the following
(𝑌3 −𝑎31 ∗𝐴−𝑏32 ∗𝐵−𝑑34 ∗𝐷) (𝑌4 −𝑎41 ∗𝐴−𝑏42 ∗𝐵−𝑐43 ∗𝐶)
C= D=
𝑐33 𝑑33
Step 1 In the table it was already arranged and all the diagonal elements are all non zero
a b c d constant
9 3 -1 2 10 Decimal= 6
1 6 3 2 5 Es= 0.001
3 -1 8 2 12
1 -2 1 4 20
Step 2 Since that it was already arrange the equation according to what will be the first, second, third and last equation and at the same time to make sure that the equation of the
diagonal elements are all non zero to have a simultaneous process .The first equation sholud have the highest value in a.In the second equation should have a
highest value in B. in the third equation should have the highest value in c. And in the last equation it should have the highest value in d.
Step 3 Since the eqaution are already arrange, we can start to solve the linear system using the Gauss- Seidel. Iterate until Es= 0.01%. Express the calculation in six decimal number.
For the first iteration we can assume that they are all zero to substitute into first equation that can be used to calculate a new value for the following.
Step 4 from the above calculated value or the new value will using to substituted with the previous guess of 0 to compute a new value for B
Step 5 In this third equation the value that will be using are the new calculated value of A, B and 0 for D (it is because the valur for it is still not done to solve) to calculate a value for the C.
Decimal= 6
Es= 0.01
GAUSS - JACOBI METHOD
Iteration c h a i s r Ea(c) Ea(h) Ea(a) Ea(i) Ea(s) Ea(r) Es(c) Es(h) Es(a) Es(i) Es(s) Es(r)
1 0 0 0 0 0 0
2 0.333333 1.045455 1.333333 0.344828 1.117647 0.785714 100 100 100 100 100 100 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
3 0.469727 0.384188 0.23148 -0.78972 0.844665 0.661755 29.03687 172.1207 476.0035 143.6647 32.31838 18.73186 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
4 0.595049 1.752275 0.520966 -0.89391 1.336457 0.502344 21.06079 78.0749 55.56716 11.65536 36.79819 31.73343 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
5 0.770458 1.858446 0.437417 -0.98999 1.035358 0.671674 22.76685 5.712891 19.10054 9.705917 29.08163 25.21015 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
6 0.735419 1.94636 0.410971 -1.08581 1.158076 0.744106 4.764495 4.516842 6.435004 8.824632 10.59671 9.734097 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
7 0.778821 2.039293 0.310227 -1.246 1.203696 0.732033 5.572782 4.557119 32.47429 12.85575 3.789993 1.649243 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
8 0.820894 2.224045 0.310408 -1.30953 1.239246 0.727695 5.125266 8.307026 0.05831 4.851886 2.86868 0.596129 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
9 0.847364 2.293499 0.299282 -1.34414 1.225997 0.752164 3.123805 3.028299 3.717564 2.574442 1.080671 3.253147 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
10 0.854178 2.328277 0.284072 -1.37824 1.240101 0.766146 0.797726 1.493723 5.354276 2.474743 1.137327 1.824979 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
11 0.864459 2.364235 0.268517 -1.41128 1.252615 0.767773 1.189299 1.520915 5.792929 2.340784 0.99903 0.211912 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
12 0.874413 2.40115 0.263548 -1.43019 1.258682 0.769737 1.138364 1.537388 1.885425 1.322065 0.482012 0.255152 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
13 0.88063 2.421777 0.259762 -1.44192 1.259888 0.774356 0.705972 0.85173 1.457488 0.813432 0.095723 0.596496 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
14 0.883886 2.4341 0.25563 -1.45177 1.262902 0.777337 0.368373 0.506265 1.616399 0.678621 0.238657 0.383489 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
15 0.886772 2.444656 0.252319 -1.4598 1.2657 0.778439 0.32545 0.431799 1.312228 0.550349 0.221063 0.141565 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
16 0.889222 2.453477 0.250567 -1.46508 1.26722 0.779341 0.275522 0.359531 0.699214 0.360321 0.119948 0.115739 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
17 0.890857 2.459211 0.249328 -1.46864 1.268003 0.780376 0.183531 0.233164 0.496936 0.242401 0.061751 0.132628 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
18 0.891901 2.463015 0.248239 -1.4714 1.268797 0.781087 0.117053 0.154445 0.43869 0.187373 0.062579 0.091027 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
19 0.892717 2.465985 0.24742 -1.4735 1.269462 0.781473 0.091406 0.120439 0.331016 0.142721 0.052384 0.049394 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
20 0.893354 2.468274 0.2469 -1.47496 1.269877 0.781766 0.071304 0.092737 0.210612 0.099121 0.03268 0.037479 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
21 0.893798 2.469858 0.246529 -1.47599 1.270142 0.782024 0.049676 0.064133 0.150489 0.069648 0.020864 0.032991 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
22 0.894104 2.470964 0.246236 -1.47676 1.27036 0.782207 0.034224 0.04476 0.118992 0.05187 0.01716 0.023395 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
23 0.894333 2.471791 0.246019 -1.47733 1.27053 0.782324 0.025606 0.033458 0.088205 0.038516 0.01338 0.014955 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
24 0.894504 2.472408 0.245871 -1.47773 1.270645 0.78241 0.019117 0.024955 0.060194 0.027407 0.009051 0.010992 PROCEED PROCEED PROCEED PROCEED DESIST PROCEED
25 0.894627 2.472846 0.245765 -1.47802 1.270724 0.782478 0.013749 0.017712 0.043131 0.019621 0.006217 0.00869 PROCEED PROCEED PROCEED PROCEED DESIST DESIST
26 0.894713 2.473159 0.245685 -1.47823 1.270784 0.782527 0.009612 0.012656 0.032562 0.014341 0.004721 0.006262 DESIST PROCEED PROCEED PROCEED DESIST DESIST
27 0.894777 2.473388 0.245626 -1.47839 1.27083 0.782561 0.007153 0.009259 0.02402 0.010552 0.00362 0.004345 DESIST DESIST PROCEED PROCEED DESIST DESIST
28 0.894824 2.473557 0.245584 -1.4785 1.270862 0.782585 0.005252 0.006832 0.017102 0.007643 0.002518 0.003067 DESIST DESIST PROCEED DESIST DESIST DESIST
29 0.894858 2.473679 0.245555 -1.47858 1.270884 0.782603 0.003799 0.004932 0.01181 0.005478 0.001731 0.0023 DESIST DESIST PROCEED DESIST DESIST DESIST
30 0.894882 2.473767 0.245533 -1.47864 1.2709 0.782617 0.002682 0.003557 0.00896 0.003923 0.001259 0.001789 DESIST DESIST DESIST DESIST DESIST DESIST
31 0.894899 2.473829 0.245517 -1.47868 1.270913 0.782627 0.0019 0.002506 0.006517 0.002908 0.001023 0.001278 DESIST DESIST DESIST DESIST DESIST DESIST
32 0.894912 2.473876 0.245505 -1.47872 1.270922 0.782633 0.001453 0.0019 0.004888 0.002164 0.000708 0.000767 DESIST DESIST DESIST DESIST DESIST DESIST
Charlenne M. Cosejo
BSEE-III
Decimal= 6
Es= 0.01
GAUSS - SEIDEL METHOD
Iteration c h a i s r Ea(c) Ea(h) Ea(a) Ea(i) Ea(s) Ea(r) Es(c) Es(h) Es(a) Es(i) Es(s) Es(r)
1 0 0 0 0 0 0
2 0.333333 1.030303 1.302112 0.710206 0.444282 0.867686 100 100 100 100 100 100 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
3 0.296222 -0.01221 0.419178 0.208474 1.380468 0.387624 12.5281 8541.647 210.6346 240.6689 67.81657 123.8473 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
4 0.548189 0.631355 0.482431 -0.37188 1.058695 0.526263 45.96353 101.9331 13.11131 156.0601 30.39336 26.34405 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
5 0.585599 1.275687 0.501655 -0.23794 1.085144 0.688367 6.388331 50.50863 3.832116 56.28916 2.437372 23.54907 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
6 0.617254 1.0905 0.356901 -0.30013 1.249976 0.600017 5.128359 16.98184 40.55859 20.71963 13.18681 14.72458 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
7 0.657651 1.17448 0.370473 -0.39868 1.191876 0.618237 6.14262 7.150398 3.663425 24.71951 4.874668 2.94709 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
8 0.661374 1.285012 0.379316 -0.37153 1.190858 0.64787 0.562919 8.601632 2.331302 7.306235 0.085485 4.573911 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
9 0.664737 1.248269 0.354909 -0.37827 1.220193 0.631891 0.505914 2.943516 6.876974 1.782306 2.404128 2.528759 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
10 0.671073 1.258323 0.35742 -0.39529 1.209961 0.634055 0.94416 0.799 0.702535 4.305172 0.845647 0.341295 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
11 0.671364 1.277606 0.359817 -0.39012 1.208844 0.639496 0.043345 1.509307 0.666172 1.326265 0.092402 0.850826 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
12 0.671639 1.270667 0.355668 -0.39064 1.214085 0.636652 0.040945 0.546091 1.166537 0.134649 0.431683 0.446712 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
13 0.672651 1.271686 0.35609 -0.39362 1.212321 0.636854 0.150449 0.08013 0.118509 0.756311 0.145506 0.031718 PROCEED PROCEED PROCEED PROCEED PROCEED PROCEED
14 0.67266 1.275093 0.356644 -0.39267 1.211967 0.637855 0.001338 0.267196 0.155337 0.241167 0.029209 0.156932 DESIST PROCEED PROCEED PROCEED PROCEED PROCEED
15 0.672662 1.273825 0.355934 -0.39266 1.212906 0.637355 0.000297 0.099543 0.199475 0.003311 0.077417 0.078449 DESIST PROCEED PROCEED DESIST PROCEED PROCEED
16 0.672827 1.273884 0.355999 -0.39319 1.212607 0.63736 0.024523 0.004632 0.018258 0.133779 0.024658 0.000784 PROCEED DESIST PROCEED PROCEED PROCEED DESIST
17 0.672823 1.274491 0.356118 -0.39302 1.212518 0.637544 0.000595 0.047627 0.033416 0.043001 0.00734 0.028861 DESIST PROCEED PROCEED PROCEED DESIST PROCEED
18 0.672817 1.274265 0.355996 -0.393 1.212686 0.637457 0.000892 0.017736 0.03427 0.005089 0.013854 0.013648 DESIST PROCEED PROCEED DESIST PROCEED PROCEED
19 0.672844 1.274254 0.356005 -0.39309 1.212636 0.637452 0.004013 0.000863 0.002528 0.023659 0.004123 0.000784 DESIST DESIST DESIST PROCEED DESIST DESIST
20 0.672843 1.274363 0.35603 -0.39306 1.212616 0.637486 0.000149 0.008553 0.007022 0.007378 0.001649 0.005333 DESIST DESIST DESIST DESIST DESIST DESIST
21 0.672841 1.274324 0.356009 -0.39306 1.212646 0.637471 0.000297 0.00306 0.005899 0.001527 0.002474 0.002353 DESIST DESIST DESIST DESIST DESIST DESIST
22 0.672845 1.274319 0.35601 -0.39307 1.212638 0.63747 0.000594 0.000392 0.000281 0.004071 0.00066 0.000157 DESIST DESIST DESIST DESIST DESIST DESIST