clc
clear
disp("kaliyah johnson")

a = 2;
t = 0:0.01:2*pi;

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

plot(x,y)
title('Astroid by kaliyah johnson')
xlabel('x')
ylabel('y')

Embed on website

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