Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use method of joints to write symbolically the matrix system of equations you would use to solve for all the unknown bar forces and reactions
Use method of joints to write symbolically the matrix system of equations you would use to solve for all the
unknown bar forces and reactions under any loading condition for the truss in Figure Part a Allow for point
loads to be placed at any joint as either a vertical load or a horizontal load so any inclined loads would be
expressed as components prior to using your equations Make sure and provide a list of the variables used to
represent the unknowns.
b Write a code using Python that will use Method of Joints determine the unknown forces and Virtual Work
to determine the desired deflection at a joint location for any determinate truss not just a truss with the
configuration above Code requirements:
Code must work for any determinate truss without having to change the body of the code. In other
words, if you need to loop through all the nodes in your truss, then the for loop must be generic
enough to determine the range based on the input.
The input must all be specified in one location at the beginning of your code. You may prompt the
user for input information, you may place the input in a separate file that is readin by your code, or
hardcode it into a common block at the beginning of the code just under any import statements
for packagesmodules Simplest in my opinion is to place it all in a common block, as prompting
user for input will get tiring while debugging your code
You must fully comment your code throughout. The output of your code must also be formatted print
statements that clearly indicate what the output is and the appropriate units.
You may use any IDE for this project: Spyder, PyCharm, Jupyter Notebook, or Google Colab.
See information at the end for additional requirements and help.
c Demonstrate that your code works on the truss with the numerical values shown in Figure Part c by solving
for the unknown forces under the given load and finding the horizontal deflection at joint H You must solve
this system by hand as well as through the computer code to validate the output from your code. Take the
area of all bars to be in and E ksi.
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