clear all
t=[0:0.1:99]';
for i=1:1:991
    x(i)=(12*t(i)^2+2.3*t(i)+5)*exp(-0.1*t(i));
    y(i)=(1-exp(-0.04*t(i))*(cos(.2*t(i))+.19*sin(.2*t(i))));
    g(i)=2*t(i)*cos(.2*t(i));
    h(i)=t(i)*sin(.2*t(i));
end

subplot(2,2,1); plot(t,x) ; xlabel(' t axis'); ylabel('x(t)'); title('x(t) vs t'); grid on;
subplot(2,2,2); plot(t,y) ; xlabel(' t axis'); ylabel('y(t)'); title('y(t) vs t'); grid on;
subplot(2,2,3); plot(h,g) ; xlabel(' g(t)'); ylabel('(h(t)'); title('h(t) vs g(t)'); grid on;

save lab1_data t x y g h

