%COMPUTER PROBLEM 9.x
%Simple ODE solution.
% plot y(t) and y'(t);

function [] = ode (y0,time)

options = odeset('RelTol',1e-4,'AbsTol',1e-5);
[T,Y] = ode45('ode_def',[0 time],[y0],options);
figure(1);
plot(T,Y(:,1),'-')
title('y(t) --- ')
return;


