Internal
problem
ID
[3609]
Book
:
Differential
equations
and
linear
algebra,
Stephen
W.
Goode
and
Scott
A
Annin.
Fourth
edition,
2015
Section
:
Chapter
1,
First-Order
Differential
Equations.
Section
1.4,
Separable
Differential
Equations.
page
43
Problem
number
:
Problem
17
Date
solved
:
Sunday, March 30, 2025 at 01:54:27 AM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=m*diff(v(t),t) = m*g-k*v(t)^2; ic:=v(0) = 0; dsolve([ode,ic],v(t), singsol=all);
ode=m*D[ v[t],t]==m*g-k*v[t]^2; ic={v[0]==0}; DSolve[{ode,ic},v[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") g = symbols("g") k = symbols("k") m = symbols("m") v = Function("v") ode = Eq(-g*m + k*v(t)**2 + m*Derivative(v(t), t),0) ics = {v(0): 0} dsolve(ode,func=v(t),ics=ics)
NotImplementedError : Initial conditions produced too many solutions for constants