function dydt = rhs2(x,y) % rhs2 Evaluate right hand side of dy/dt = -y dydt = - y;