Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PROBLEM 1 bhb . points 3 0 - Use Python An important problem in structural enginering is that of finding forces in a statically determinate

PROBLEM 1bhb. points 30- Use Python
An important problem in structural enginering is that of finding forces in a statically determinate truss ( Fig. 1).
This type of structure can be described by a system of coupled linear algebraic equations derived from force balances. Based on free-body diagrams for each node, the sum of the
forces in both horizontal and vertical directions must be zero at each node because the system is at rest.
Therefore, for node 1:
??FH=0,-F1cos30+F3cos60+F1,h=0
??FV=0,-F1sin30-F3sin60+F1,v=0
for node 2:
??FH=0F2+H2+F1cos30+F2,h=0
??FV=0V2+F1sin30+F2,v=0
for node 3:
??FH=0,-F2-F3cos60+F3,h=0
??FV=0,V3+F3sin60+F3,v=0
where Fi,h is the external horizontal force applied to node i, where positive force is to the right, and Fi,v is the external vertical force applied to node i, where positive force is upward.
Thus, in this problem, the 1000N downward force on node 1 corresponds to Fi,v=-1000.
And for this problem, all other Fi,h's and Fi,v's are zero. Note that the directions of the internal forces and reactions are unknown. Proper applications of Newton's laws only require consistent conventions regarding direction. Also note that in this problem the forces in all members are assumed to be in tension and act to pull the adjoining nodes apart. A negative solution therefore correponds to compression. When numerical values for the external forces are substituted and the trigonometric functions evaluated, this problem reduces to a set of six linear algebraic equations with six unknowns, as above.
Your tasks:
(points 10) Express this set of linear algebraic equations in matrix form
(points 15) Then, use Python to solve for the forces and reactions for the case displayed
in Fig.1
i. using the inverse of the cocfickents matrix: numpy.linalg.inv
ii. using directly the command: numpy.linalg.solve
ii. using LU factorization: scipy.linalg.lu;
Hint: refer to sertions 9.1 and 9.6 of tertbook
iv. how do the solutions of the items above compare to each otter?
(points 5) Deternine the system's matrix imerse.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions