CODE
%formulating and solving ten liner eqautions Ax = b
%first create the coefficient matrix A i.e. LHS
%column/variables are in the following order:
%Ax|Ay|Ey|AD|AB|BC|BD|CE|CD|DE => 10 columns
A= [
1, 0, 0, 1, 0, 0, 0, 0, 0, 0;
0, 1, 0, 0, 1, 0, 0, 0, 0, 0;
0, 0, 0, 0, 0, 1, 0.6, 0, 0, 0;
0, 0, 0, 0, -1, 0, -0.8, 0, 0, 0;
0, 0, 0, 0, 0, -1, 0, 0.6, 0, 0;
0, 0, 0, 0, 0, 0, 0, -0.8, -1, 0;
0, 0, 0, -1, 0, 0, -0.6, 0, 0, 1;
0, 0, 0, 0, 0, 0, 0.8, 0, 1, 0;
0, 0, 0, 0, 0, 0, 0, -0.6, 0, -1;
0, 0, 1, 0, 0, 0, 0, 0.8, 0, 0;
]
% b is the RHS of constants
b = [0; 0; -74; 0; 0; 24; 0; 0; 0; 0]
% x is the solution corresoponding to the same order as colums in
A
x = inv(A)*b
x
SCREENSHOTS
OUTPUT
Please go through the above code and screenshots and if you need any help then just message me.
give me a thumbs up. Thanks.
Q.1. A plane truss is loaded and while solving for internal forces in truss members we are able to formulate the ten equations given below: Ax +AD0; Ay +AB074+ BC+H(3/5) BD 0 BC +(3/5) CE-0 CD + (...
5. (20 points) The truss shown below supports horizontal forces of 6 kips at Joint G, 8 kips at Joint E, and 4 kips at Joint C. All truss members are made of steel (E 29,000 ksi). Each of the diagonal members (Members AD, DE, and EH) has a cross-sectional area of 1.2 in2. Each of the vertical members (Members AC, CE, EG, BD, DF and FH) has a cross-sectional area of 2.4 in Each of the horizontal members (Members...