function yp = f_quiz041112(x,y)
% Integration of piecewise continuous function using ode45
% Tim Placek (placetd@auburn.edu)
% Copyright 2012 All Rights Reserved
%
if x<3
yp=x;
elseif x<6
yp=6-x;
else
yp=x-6;
end
end