Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use Matlab: Problem: A cable of length Lc supports a beam of length Lb so that it is horizontal when the weight Wis attached to
Use Matlab: Problem: A cable of length Lc supports a beam of length Lb so that it is horizontal when the weight Wis attached to the beam end. The tension force T in the cable is given by the following equation: T LbLcWD sqrLcD Where D is the distance of the cable attachment point to the beam pivot. Create a Script Mfile that uses an anonymous function to compute the tension T as a function of DYou might want to use W NLb mand Lc m as initial test values. This Script Mfile should: aPrompt the user and accept values for WLb and Lc from the Command Window the weight is in Newtons, and the lengths are in meters bUse these values as parameters in defining the anonymous function, and use the fminbnd function together with the anonymous function to compute and display in the Command Window the value of D that minimizes the tension TIt should also display the mininnum tension value. cUse fzero to determine by how much the value of D can vary from it's optimal value before the tension increases by more than from it's minimum, and display this value in the Command Window.
Use Matlab:
Problem: A cable of length Lc supports a beam of length Lb so that it is horizontal when the weight Wis attached to the beam end. The tension force T in the cable is given by the following equation:
T LbLcWD sqrLcD
Where D is the distance of the cable attachment point to the beam pivot.
Create a Script Mfile that uses an anonymous function to compute the tension T as a function of DYou might want to use W NLb mand Lc m as initial test values. This Script Mfile should:
aPrompt the user and accept values for WLb and Lc from the Command Window the weight is in Newtons, and the lengths are in meters
bUse these values as parameters in defining the anonymous function, and use the fminbnd function together with the anonymous function to compute and display in the Command Window the value of D that minimizes the tension TIt should also display the mininnum tension value.
cUse fzero to determine by how much the value of D can vary from it's optimal value before the tension increases by more than from it's minimum, and display this value in the Command Window.
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