Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Name the script file Program3. Put format compact at the beginning of the script file. Also put clear, clc at the beginning of the script
Name the script file Program3. Put "format compact" at the beginning of the script file. Also put "clear, clc" at the beginning of the script file. In the triangular truss shown above, the forces in each strut act at the ends only and are parallel to the strut. External forces W and G act vertically at nodes 2 and 4 , and external force H acts horizontally at node 5. The truss is supported by the horizontal force F8 and vertical force F9 at node 1 and by the vertical force F10 at node 3. The angles are =44,=69,=48,=76, and W=330,G=410, H=260. Write a MATLAB program to calculate and print the unknown forces F1F10. The equations for the unknown forces are: F1x+F6+F8F1y+F9F2x+F3xF6+F7F2y+F3yF4xF7F4y+F10F1x+F2x+F5F1yF2yF3x+F4xF5F3yF4y=0=0=0=W=0=0=0=G=H=0 The output of this program should look like this: F= 710.6016 89.5749 331.5298 253.9171 543.2648 251.1640 61.4281 260.0000 493.6254 246.3746 ommand Window Unrecognized function or variable 'F6'. Error in Prog|ram3>Q(F1x)F1x+F6+F8 (line 17) F1x=fsolve(@(F1x)F1x+F6+F8,0); Error in fsolve (line 264) fuser = feval ( funfcn{3},x, varargin {:}); Error in Program3 (line 17) F1x=fsolve(@(F1x)F1x+F6+F8,0); Caused by: Failure in initial objective function evaluation. FSOLVE cannot continue
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