MATLAB CODE:
clc;
clear all;
P1=input ('Enter P1:'); %For Entering load P1
P2=input ('Enter P2:'); %For Entering load P2
P3=input ('Enter P3:'); %For Entering load P3
H=input ('Enter H:'); %For Entering value of H
L=input ('Enter L:'); %For Entering value of L
RFY = (P1/4)+(P2/2)+(3*P3/4); %Calculating RFY
RAY = (P3/4)+(P2/2)+(3*P1/4); %Calculating RAY
disp('RAY:');disp(RAY); %diaplaying value on output screen
disp('RFY:');disp(RFY);
hyp = sqrt((H/2)^2+(L/4)^2); %calculating a constant to be used
later
FAB = -2*RAY*hyp/H; % calculating value of force
FAD = RAY*L/(2*H);
FBD = -P1*hyp/H;
FBC = -(FAB+FBD);
FCE = -FBC;
FCD = -(FBC*H/hyp+P2);
FEF = RFY*hyp*2/H;
FDF = -RFY*L/(2*H);
FDE = P3*hyp/H;
%Displaying Forces
disp('FAD:');disp(FAD);
disp('FAB:');disp(FAB);
disp('FBD:');disp(FBD);
disp('FBC:');disp(FBC);
disp('FCD:');disp(FCD);
disp('FCE:');disp(FCE);
disp('FDE:');disp(FDE);
disp('FEF:');disp(FEF);
disp('FDF:');disp(FDF);
Sample Results :
Enter P1:12
Enter P2:12
Enter P3:12
Enter H:6
Enter L:6
RAY:
18
RFY:
18
FAD:
9
FAB:
-20.1246
FBD:
-6.7082
FBC:
26.8328
FCD:
-60
FCE:
-26.8328
FDE:
6.7082
FEF:
20.1246
FDF:
-9
>>
1. Develop a MATLAB code to determine, (a) the support reactions, RAy, RFy of the king...
Use the force method to determine the force in each member of the truss. Take a 2 kN, b 2 kN, c 20 kN and EA = 20000 kN (for all the members). a F В D 2 m A E 3 m 3 m Please fill in your solutions here: a) FAB kN b) FAC kN c) FBC kN d) FBD= kN e) FCD kN kN FCE kN g) FCF kN h) FDE kN i) FDF kN j) FEF...
part a, b, c & d are correct Week 4, Question 2: Use the force method to determine the force in each member of the truss. Take a = 7 kN, b = 8 kN, c = 11 kN and EA = 20000 kN (for all the members). B) 2 m 3 m— 3 m Please fill in your solutions here: a) FAB = -11 kN Your last answer was interpreted as follows: -11 b) FAC = 0 KN Your...
L L2 L L 7. [1 pt) The truss is pin-joined to the wall. Find the force in each member. Assume L, = 2.71 m, L 1.83 m, P = 1024 N. If the member is in compression, enter a negative force. Enter FAB Answer: Sube lewe 8. [1pt) Enter FBC Answer: Submit Al Answers 9. [1 pt) Enter FBD Answer: 10. [1pt] Enter FCD Submit Alwers Answer: Submit Al Answers 11. [1pt] Enter FDE Submit Al Answers Answer: 12....
Q.3 For the non-parallel chord truss bridge shown in Fig. 3(a) (1) determine the influence lines for Fco, Fca and Fee: (2) The bridge is to be designed for the equivalent moving load detailed in Fig. 3(b). Compute the maximum tensile and compressive axial forces in member Cd. (Answer: Fcd max, T = 133.46 kN) L L P-115 kN JI ,-10 kN/m 4.5m 6@5m (Note that L2 may be varied or split up to achieve the desired effects, and that...
Write the MATLAB code and use the function linsolve() to solve the system of linear equations. Thank you! l Truss A truss is a structure that typically consists of 1. All straight members 2. connected together with pin joints 3. connected only at the ends of the members 4. and all external forces (loads&reactions) must be applied only at the joints. The weights of the members may be neglected. The basic building block of a truss is a triangle. Large...