clc clear t=0:0.1:10; P=5*exp(-0.3*t)+4*cos(2*t); plot(t,P); xlabel('Time(years)'); ylabel('Population(thousands)'); title('Population vs Time');
To embed this project on your website, copy the following code and paste it into your website's HTML: