Hi, new in mathematica and im facing a problem. Im trying to solve a diferencial equation with NDSolve and but the error “Encountered non-numeric value for a derivative at t == 0” shows. I understand the nature of the error but I don’t know how to manage it. The function im obtaining is defined in the small interval t around 0 to 1. Here the code:
V=NDSolve[{v'[t]==-g +(a*ve)/(mr+mw*Exp[-ve*t]) +(mw*ve*Exp[-ve*t])/(mr+mw*Exp[-ve*t])*v[t]-(b/(mr+mw*Exp[-ve*t]))*v[t]^2 ,v[0]==0.01},v[t],{t,0.01,0.4}]
Here is an screenshot:
Thank you!

