Question
Question Nr. 6: Please show python code in your answer. Thank you. Use matrix methods to solve engineering problems using Python and Numpy Here is
Question Nr. 6: Please show python code in your answer. Thank you.
Use matrix methods to solve engineering problems using Python and Numpy
Here is the classic case truss example
You will be solving for the maximum Force on one of the members for the following case
Howe Truss
The upward forces at A can be calculated by taking a summation of the moments at E
Moment is distance * force
Moment at E = 0 = 40*4 + 20*8 + 20*12 + 30*16 FA * 16
FA = 65 kN Similarly FE = 45 kN
With this information we can do Sum of Forces in X and Y at each node to generate the matrix
Members (17): AJ, AI, AB, BI, BH, BC, CH, CD, DH, DG, DE, EG, EF, JI, IH, HG, GF
You will need 17 equations to solve for the forces in each of these members.
Your program should allow the user to input the forces at J, I, H, G, and F (or specify inputs). It should then give the response forces at A and E and output the Force on each of the truss beams.
Demonstrate the program using the inputs from the problem above.
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