Using mat lab An epicycloid is a curve shown partly in the f
Using mat lab An epicycloid is a curve (shown partly in the figure) obtained by tracing a point on a circle that rolls around a fixed circle. The parametric equation of a cycloid is given by: x = 13 cos(t)-2 cos(6.5t) y = 13 sin(t)- 2sin(6.5t) Plot the cycloid for 0 lessthanorequalot t lessthanorequalot 4 pi.
Solution
%Assigning t
T= [0:0.01:4*pi];
X= (13*cos (t))-(2*cos (6.5*t));
Y= (13*sin (t))-(2*sin (6.5*t));
Plot(x, y)
Xlabel (‘x’)
Ylabel (‘y’)
