t=[0:0.01:30]';
y1=1.25*exp(-t);
y2=2.02*exp(-0.3*t);
y3=y2.*cos(0.554*t+(45*pi)/90)+y1;
y=[y1,y2,y3];
plot(t,y)
title('Plot of #2');
xlabel('Time in second');
ylabel('Amplitude');
grid on
legend('y1','y2','y3');
v=[0,18,-4,5]
axis(v);
y3_0=y3(t==0)
y3_5=y3(t==5)
y3_min=min(y3)

y3_0 =
    1.2500
y3_5 =
   -0.1552
y3_min =
   -0.8436