Question: Please write simple code in MATLAB Grader format that will pass tests MATLAB grader problems: HW4_1 A 1000-lb weight is supported by 3 cables as

Please write simple code in MATLAB Grader format that will pass tests

Please write simple code in MATLAB Grader format that will pass testsMATLAB grader problems: HW4_1 A 1000-lb weight is supported by 3 cables

MATLAB grader problems: HW4_1 A 1000-lb weight is supported by 3 cables as shown in the figure. Note that cable #3 is attached along the y-axis, at a distance of d feet from the origin, O. The static equilibrium equations for this structure are Rd 10 van 'n visa T=0 3 Ti-V158 Tz + Tz = 0 Tu + 168 T2 + 4+T3 1000 = 0 1000 lb where L = V102 + d2 , length of cable 3 Write a function Cable Dist, that takes in a value for the distance (ft) as input, and returns the three tensions as output in a single column vector. For example: >> CableDist (5) ans = 423.2836 264.6275 470.7512 Function C Reset MATLAB Documentation function T = CableDist(ft) 2 %compute tensions in cables supporting a suspended mass 600 VUN % I = CableDist(ft) 5 % INPUT ft: distance of cable #3 from origin 6 % OUTPUT T: three cable tensions 9 end Code to call your function C Reset Run Function Assessment: Run Pretest Submit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!