%This function defines the differential equation.
function deriv = yDot(t, y)
deriv = y * (1 - y);