Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Matlab problems helps please will rate Where Lbis the rod length in meters, Le is the cable length in meters, D is the length along
Matlab problems helps please will rate
Where Lbis the rod length in meters, Le is the cable length in meters, D is the length along the rod from the cable contact point to the hinge, and W is the weight of the box in Newtons Create a function called Tension" with five inputs and two outputs. The function inputs in order are 1) , 2) Lc 3) W 4) Dmi" and 5) Dmar. The two outputs are 1) Tmi" and 2) the associated value of D at T,an. a. The function needs to create 25 values between Dmin and Dmar b. The function will also plot the cable tension, T(y-axis as a function of D (x-axis). The plot line should be green with blue diamond markers with size-6. Label your axes and include a title on the plot. The plot should look similar to Figure 2 for: L-3, L-2, W-500, Dmin 0.6, and Dax 1.6 Cable Tension vs. Rod Connection Length 2800 2600 2400 Z 2200 2000 1800 1600 1400 0.6 0.7 0.8 0.9 1.1 12 1.3 1.4 1.5 16 Rod Connection Length (meters) Figure 2: Example plot for the Tension function Create a function called "Piecewise" which generates an output vector y for a given input vector x The output varies as follows a) f x(i)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