use matlab: A cable of length Lc supports a beam of length Lb so that it...

90.2K

Verified Solution

Question

Mechanical Engineering

use matlab:

A cable of length Lc supports a beam of length Lb so that it ishorizontal when the weight W is attached to the beam end. Thetension force T in the cable is given by the following equation:T=(Lb*Lc*W)/(D*sqrt(Lc^2-D^2)) Where D is the distance of the cableattachment point to the beam pivot. 1. Create a function M-filethat evaluates the tension T as a function of D. In this functionM-file the parameters Lb, Lc, and W should be declared global. 2.Create a script M-file that creates these global variables and: a)Prompts for and accepts the following values from the CommandWindow : W = 400N, Lb= 5 m, and Lc = 3 m (the weight is in Newtons,and the lengths are in meters) b) Uses these values and the fminbndfunction to compute and display in the Command Window the value ofD that minimizes the tension, T, and the minimum tension value. c)Uses fzero to determine by how much the value of D can vary fromit

Answer & Explanation Solved by verified expert
4.3 Ratings (1054 Votes)
a The Mfilex 10 W 400Lb 3Lc 5D 0001LbT LbLcWDsqrtLb2D2minT k minTminD DkTensionatminTkDistanceatminDkplottingDplot    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students