% Section 4.5 Exercise 14
% y'' + 5*y' + 4*y = 2+3*t
% with the 
% particular solution:
% yp=3/4*t-7/16
% and the 
% homogeneous solution:
% yh = c1*exp(-t) + c2*exp(-4*t) 
t = linspace(-1,10,100);
c1=1;c2=0.001;
yh = c1*exp(-t) + c2*exp(-4*t) ;
yp = 3/4*t-7/16;
y = yh + yp;

figure(14)
plot(t,yh,'.-.r',t,yp,'-ob',t,y,'-g','Linewidth',2)
legend('homogeneous','particular','solution')
title('Again - notice the transient !!!')
