clc 
clear 

display("kaliyah johnson")

t = 0:0.01:10;


P = 5*exp(-0.3*t) + 4*cos(2*t);

plot(t, P, 'LineWidth', 1.5);
grid on;

title('Population of Species Over Time by kaliyah johnson ');
xlabel('Time, t (years)');
ylabel('Population, P (thousands)');

Embed on website

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