clc
clear
disp "courtni k."
a=2;
t=0:0.01:2*pi;

x=a*cos(3*t).*cos(t);
y=a*cos(3*t).*sin(t);

plot(x,y); title('three petal rose ck'); xlabel('x'); ylabel('y'); grid on

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: