Question: Write a script function called, yourlastnameGrashof, to determine the Grashof condition and state if input is a crank or rocker' of a fourbar linkage system.
Write a script function called, yourlastnameGrashof, to determine the Grashof condition and state if input is a "crank or rocker' of a fourbar linkage system. The program must ask the user to input a row vector containing the four link lengths(input, coupler, output and ground) and return the respective Grashof condition as atext option as "Grashof ", "Special Grashof" or "Non Grashof" as well as 'input is a crank' or 'input is a rocker'. The program should output an error for an individual link length zero.
Hint: check out the MATLAB built-in function, sort(), to help sort the link lengths.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
