function [Ydot] = regrowth(t,Y, r, K) r=log(14); K=1.4; Ydot(1) = r*(1-Y(1)/K); Ydot=Ydot';