Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a MATLAB code for the following In civil engineering, matrices are used to solve many simultancous linear equations. simple example is to obtain member
Write a MATLAB code for the following In civil engineering, matrices are used to solve many simultancous linear equations. simple example is to obtain member forces and reactions in a statically determinate truss. For the truss shown below, there are six unknowns, the member forces F,, F2, and Fs as well as the reactions H2, Va, and V. The vertical point load at joint 1 is named PV. To solve for the member forces and reactions due to load PV1, the following simultaneous equations are obtained from structural analysis: -0.866 + 0.55 = 0 -0.5F,0.866 = PV1 0866F, + F2 + H2-0 0.5F, + = 0 0.866F, +V You are asked to solve these simultaneous equations in MATLAB. To do so, form the simultancous equations into [Altx) (B), where [A] is a 6x6 matrix of the coefficients, (x) s a 6x1 vector of the unknowns, and {B) s a 6x1 vector of the right hand side values. 30* 60 H2 V. Figure for Question 2 a) Make a MATLAB code to solve for these six unknowns for a range of PV, from 250 to 1.250 lb with an increment of 10 lb. Use the loop structure. However, stop the loop if the value of F2 exceeds 430 lb and the value of V2 exceeds 200 lb. Present the results only for this casoe. In civil engineering, matrices are used to solve many simultancous linear equations. simple example is to obtain member forces and reactions in a statically determinate truss. For the truss shown below, there are six unknowns, the member forces F,, F2, and Fs as well as the reactions H2, Va, and V. The vertical point load at joint 1 is named PV. To solve for the member forces and reactions due to load PV1, the following simultaneous equations are obtained from structural analysis: -0.866 + 0.55 = 0 -0.5F,0.866 = PV1 0866F, + F2 + H2-0 0.5F, + = 0 0.866F, +V You are asked to solve these simultaneous equations in MATLAB. To do so, form the simultancous equations into [Altx) (B), where [A] is a 6x6 matrix of the coefficients, (x) s a 6x1 vector of the unknowns, and {B) s a 6x1 vector of the right hand side values. 30* 60 H2 V. Figure for Question 2 a) Make a MATLAB code to solve for these six unknowns for a range of PV, from 250 to 1.250 lb with an increment of 10 lb. Use the loop structure. However, stop the loop if the value of F2 exceeds 430 lb and the value of V2 exceeds 200 lb. Present the results only for this casoe
Write a MATLAB code for the following
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started