NUM-CS
NUM-CS
CASE STUDIES
IN NUMERICAL METHODS AND ANALYSIS
SUBMITTED BY:
DEAN KYLE B. DUMAJEL
BSCE III
SUBMITTED TO:
ENGR./ENP. IRISMAY T. JUMAWAN, PH.D
NOVEMBER 2024
The forces (F) represent either tension or compression on the members of the truss. External
reactions (H2, V2, and V3) are forces that characterize how the truss interacts with the supporting
surface. The hinge at node 2 can transmit both horizontal and vertical forces to the surface,
whereas the roller at node 3 transmits only vertical forces. It is observed that the effect of the
external loading of 1000 lb is distributed among the various members of the truss.
1000 lb
F3
F1
30O 60O
H2 F2 F2
30O 60O
F1
F3
V2 V3
Node 1 Equation:
Node 2 Equation:
Node 3 Equation:
Standard Equation
F 3 sin 30+V 3 =0
Solution: Using Gaussian Elimination with Row Pivoting
Matrix Equation (AX=B)
[ ][ ] [ ]
−0.866 0 0.5 0 0 0 F1 0
−0.5 0 −0.866 0 0 0 F 2 1000
0.866 1 0 1 0 0 F3 = 0
0.5 0 0 0 1 0 H2 0
0 −1 −0.5 0 0 0 V 2 0
0 0 0.866 0 0 1 V 0
3
Augmented Matrix
[ ][ ]
P ivot F1 F2 F3 H2 V 2 V 3 B
m21=0.577 −0.866 0 0.5 0 0 0 0
m31=−1 −0.5 0 −0.866 0 0 0 1000
0.866 1 0 1 0 0 0
m41=−0.577
0.5 0 0 0 1 0 0
m51=0 0
0 −1 −0.5 0 0 0
m61=0 0 0 0.866 0 0 1 0
[ ][ ]
F1 F2 F3 H2 V 2 V 3 B
−0.866 0 0.5 0 0 0 0
0 0 −1.155 0 0 0 1000
0 1 0.5 1 0 0 0
0 0 0.289 0 1 0 0
0 −1 −0.5 0 0 0 0
0 0 0.866 0 0 1 0
Interchanged Equation
[ ][ ]
F1 F2 F3 H2 V 2 V 3 B
Pivot −0.866 0 0.5 0 0 0 0
m32=0 0 1 0.5 1 0 0 0
m42=0 0 0 −1.155 0 0 0 1000
m52=−1 0 0 0.289 0 1 0 0
m62=0 0 −1 −0.5 0 0 0 0
0 0 0.866 0 0 1 0
[ ][ ]
F1 F2 F3 H2 V 2 V 3 B
Pivot −0.866 0 0.5 0 0 0 0
m43=−0.25 0 1 0.5 1 0 0 0
0 0 −1.155 0 0 0 1000
m53=0
0 0 0.289 0 1 0 0
m63=−0.75 0
0 0 0 1 0 0
0 0 0.866 0 0 1 0
[ ][ ]
F1 F2 F3 H2 V 2 V 3 B
−0.866 0 0.5 0 0 0 0
0 1 0.5 1 0 0 0
0 0 −1.155 0 0 0 1000
0 0 0 0 1 0 250
0 0 0 1 0 0 0
0 0 0 0 0 1 750
Backward Substitution
1000
V 3=750 F 3= =−865.8 ≈−866
−1.155
V 2=250 F 2=−0.5(−866)=433
−0.5(−866)
H 2=0 F 1= =−500
−0.866
Therefore, F1= -500, F2= 433, F3= -866, H2= 0, V2= 250, V3= 750.
CASE STUDY 2: TRUSS
Employing the same methods as used, determine the forces and reactions for the truss shown in.
Node 2 Node 3
Node 1
F5
F1 F3 F2
30O
O
30 45 O
FHA 30O F4
60O
F1
F2
FVA FVB
Node 4
F6
Node 5
800
F4 250
45O
F3
F5 F6
Node 1 Equation:
∑ Fx=0=F HA + F 1 cos 30
∑ Fy=0=F VA + F 3 sin 30
Node 2 Equation:
Node 3 Equation:
∑ Fx=0=−F 2 sin 30
∑ Fy=0=F VB+ F 3 + F 2 cos 30
Node 4 Equation:
Node 5 Equation:
1 0 0 0.866 0 0 0 0 0 FHA 0
0 1 0 0.5 0 0 0 0 0 FVA 0
0 0 0 -0.866 0.5 0.707 1 0 0 FVB 0
0 0 0 -0.5 -0.866 0.707 0 0 0 F1 0
0 0 1 0 0.866 0 0 1 0 F2 = 0
0 0 0 0 0 0 -1 0 0 F3 250
0 0 0 0 0 0 0 -1 1 F4 0
0 0 0 0 0 -0.707 0 0 0 F5 800
0 0 0 0 0 -0.707 0 0 -1 F6 0
1 0 0 0.866 0 0 0 0 0 0
0 1 0 0.5 0 0 0 0 0 0
0 0 1 0 0.866 0 0 1 0 0
Pivot 0 0 0 -0.866 0.5 0.707 1 0 0 0
0.577 0 0 0 -0.5 -0.866 0.707 0 0 0 = 0
0 0 0 0 0 0 -0.707 0 0 0 800
0 0 0 0 0 0 -0.707 0 0 -1 0
0 0 0 0 0 0 0 -1 0 0 250
0 0 0 0 0 0 0 0 -1 1 0
Rearranged
1 0 0 0.866 0 0 0 0 0 0
0 1 0 0.5 0 0 0 0 0 0
0 0 1 0 0.866 0 0 1 0 0
0 0 0 -0.866 0.5 0.707 1 0 0 0
0 0 0 0 -1.155 0.299 -0.577 0 0 = 0
Pivot 0 0 0 0 0 -0.707 0 0 0 800
1 0 0 0 0 0 -0.707 0 0 -1 0
0 0 0 0 0 0 0 -1 0 0 250
0 0 0 0 0 0 0 0 -1 1 0
1 0 0 0.866 0 0 0 0 0 0
0 1 0 0.5 0 0 0 0 0 0
0 0 1 0 0.866 0 0 1 0 0
0 0 0 -0.866 0.5 0.707 1 0 0 0
0 0 0 0 -1.155 0.299 -0.577 0 0 = 0
0 0 0 0 0 -0.707 0 0 0 -800
0 0 0 0 0 0 0 -1 800
0 0 0 0 0 0 -1 0 0 -250
0 0 0 0 0 0 0 -1 1 0
Rearranged
1 0 0 0.866 0 0 0 0 0 0
0 1 0 0.5 0 0 0 0 0 0
0 0 1 0 0.866 0 0 1 0 0
0 0 0 -0.866 0.5 0.707 1 0 0 0
0 0 0 0 -1.155 0.299 -0.577 0 0 = 0
0 0 0 0 0 -0.707 0 0 0 800
0 0 0 0 0 0 -1 0 0 250
0 0 0 0 0 0 0 -1 1 0
0 0 0 0 0 0 0 0 -1 -800
1 0 0 0.866 0 0 0 0 0 0
0 1 0 0.5 0 0 0 0 0 0
0 0 1 0 0.866 0 0 1 0 0
0 0 0 -0.866 0.5 0.707 1 0 0 0
0 0 0 0 -1.155 0.299 -0.577 0 0 = 0
0 0 0 0 0 -0.707 0 0 0 800
0 0 0 0 0 0 -1 0 0 250
0 0 0 0 0 0 0 -1 1 0
0 0 0 0 0 0 0 0 -1 -800
Using Back Substitution
THEREFORE;
FHA = 1133.910
FVA = 654.663
FVB = -654.663
F1 = -1309.327
F2 = -167.820
F3 = -1131.371
F4 = -250
F5 = 800
F6 = 800
CASE STUDY 3: NUMBER OF CEMENTS FOR EACH MIXTURE OF CONCRETE
An engineer is preparing three mixtures of concrete for his projects. He has a total budget of
P77,400 (including tax) and aims to use a total of 240 bags of cement across all mixtures. The
cement costs for each mixture are as follows:
Matrix Equation
[ ][ ] [ ]
1 1 1 X1 240
300 350 385 X 2 = 77400
1 −2 −2 X 3 0
Augmented Matrix
[ ][ ]
X1 X2 X3 B
1 1 1 240
300 350 385 77400
1 −2 −2 0
Interchanged Equation
[ ][ ]
Pivot
X1 X2 X3 B
1
m21= 77400
300 300 350 385
1 1 1 240
1
m31= 1 −2 −2 0
300
[ ][
X1 X2 X3
]
300 350 385 B
Pivot −1 −17 77400
0
m32=19 6 60 −18
−19 −197 −258
0
6 60
[ ][ ]
X1 X2 X3
B
300 350 385
77400
−1 −17
0 −18
6 60 84
0 0 2.1
Backward Substitution
84
X3= =40
2.1
17
−18+ (40)
60
X2= =40
−1
6
77400−350 ( 40 ) −385(40)
X1= =160
300
Therefore, there are 160 bags of cement for mixture 1 (X1), 40 bags of cement for
mixture 2 (X2), and 40 bags of cement for mixture 3 (X3).
CASE STUDY 4: ELECTRICAL COMPONENTS
An electrical engineer supervises the production of three types of electrical components. Three
kinds of material—metal, plastic, and rubber—are required for production. The amounts needed
to produce each component are
1 15 0.30 1.0
2 17 0.40 1.2
3 19 0.55 1.5
If totals of 3.89, 0.095, and 0.282 kg of metal, plastic, and rubber, respectively, are available
each day, how many components can be produced per day?
Standard Equation:
[ ][ ] [ ]
15 17 19 X 1 3890
0.30 0.40 0.55 X 2 = 95
1 1.2 1.5 X 3 282
Augmented Matrix
[ ][ ]
Pivot X1 X2 X3 B
m21=0.02 15 17 19 3890
1 0.30 0.40 0.55 95
m31=
15 1 1.2 1.5 282
[ ][ ]
X1 X2 X3 B
Pivot
15 17 19 3890
10
m32= 0 0.06 0.17 17.2
9
0 0.0625 0.2333 22.6667
[ ][ ]
X1 X2 X3 B
15 17 19 3890
0 0.06 0.17 17.2
0 0 0.0444 3.5556
Backward Substitution:
3.5556
X3= =80
0.0444
17.2−0.17(80)
X2= =60
0.06
Therefore, there are 90 grams of combine materials for Component 1, 60 grams of combine
materials for Component 2, and 80 grams of combine materials for Component 3 that can be
produced each day.
CASE STUDY 9: NUMBER OF TRANSISTORS, RESISTORS, AND COMPUTER CHIPS
TO BE MANUFACTURED
An electronics company produces transistors, resistors, and computer chips. Each transistor
requires four units of copper, one unit of zinc, and two units of glass. Each resistor requires
three, three, and one units of the three materials, respectively, and each computer chip requires
two, one, and three units of these materials, respectively. Putting this information into table form,
we get:
Transistors 4 1 2
Resistors 3 3 1
Computer chips 2 1 3
Supplies of these materials vary from week to week, so the company needs to determine a
different production run each week. For example, one week the total amounts of materials
available are 960 units of copper, 510 units of zinc, and 610 units of glass. Set up the system of
equations modeling the production run, and use Excel, MATLAB, or Mathcad, to solve for the
number of transistors, resistors, and computer chips to be manufactured this week.
Let:
Standard Equation:
1
4 X 1 +3 X 2 +2 X 3=960 X 1 = (960−3 X 2−2 X 3 )
4
1
X 1 +3 X 2 + X 3=510 X 2 = (510−X 1− X 3)
3
1
2 X 1 + X 2 +3 X 3 =610 X 3 = (610−2 X 1− X 2)
3
Iteration X1 X2 X3
0 0.0 0.0 0.0
1 240.0 90.0 13.3
The equations or the values converge at 10 th iteration. Therefore, there are 120 transistors (X 1),
100 resistors (X2), and 90 computer chips (X3) to be manufactured with the total amount of
materials given.
CASE STUDY 10: CIRCLE
In a cartesian coordinate system, the equation of the circle with its center at point (a, b) and
radius r is: (x-a)2 + (y-b)2 = r2. Given three points, (-1, 3.2), (-8, 4), and (-6.5, -9.3), determine the
equation of the circle that passes through the points.
(-8, 4)
(-1, 3.2)
(-6.5, -9.3)
@Point (-8, 4)
3 a−26.6 b−48.74=0
2 2 2
a + b +16 a−8 b+80=r
14 a−1.6 b+ 68.76=0
Equation:
1.6 b−68.76
a=
14
3 a−48.74
b=
26.6
Iteration a b r
0 0.0000 0.0000 0.0000
1 -4.9114 -2.3863 7.0939
2 -5.1841 -2.4170 7.0076
3 -5.1877 -2.4174 7.0066
4 -5.1877 -2.4174 7.0066
The value converges @ 4th iteration. Therefore, a = -5.1877, b = -2.4174, and r = 7.0066.
Center of the circle: (-5.1877, -2.4174).Equation of the circle (that passes through the points):
(x+5.1877)2 + (y+2.4174)2 = 49.0924