#### Question Details

##### (Solution) - Cam is a mechanical device that transforms rotary motion into

Brief item decscription

Item details:

Cam is a mechanical device that transforms rotary motion into linear motion. The shape of the disc is designed to produce a specified displacement profile. A displacement profile is a plot of the displacement of the follower as a function of the angle of rotation of the cam. The motion of a certain cam is given by the following equations:
y = 6[28-0.Ssin?]/? for 0 < ? < 2?/2
y = 6 for ?/2 < 9 < 2?/3
y = 6 - 3[1 - 0.5cos(3(? - 2?/3))] for 2?/3 < ? < 4?/3
y = 3 for 4?/3 < ? < 3?/2
y = 3 ? 1.5(? ? 3(?/2)/?4)2 for 3?/2 < ? < 7?/4
y = 0.75-0.75(1 - t-7(?/4)/?/4)2 for 7?/4 < ? < 2?

Write a MATLAB program that plots the displacement profile for one revolution. First create a 100 element vector for ?, then by using a loop and conditional statements calculate the value of y for the corresponding values of ?. Once y and e are known, plot y vs. ?.

STATUS
QUALITY
Approved