function retval = convectSoln(x,t)
% usage: retval = convectSolnf(x,t)
% description: This function accepts input vector x, scalar
% time t, and computes the known solution for the
% convection-diffusion problem.

% programmer: t. shores
% last update: 3/1/16
 
% Octave and Matlab compatible file
% default is constant value zero, handy if soln not known and size of last profile desired
%retval = zeros(size(x));
retval = exp(-t)*sin(x);
%retval = exp(-t/2)*sin(x).*sin(x);
end
