Internal
problem
ID
[7512]
Book
:
THEORY
OF
DIFFERENTIAL
EQUATIONS
IN
ENGINEERING
AND
MECHANICS.
K.T.
CHAU,
CRC
Press.
Boca
Raton,
FL.
2018
Section
:
Chapter
3.
Ordinary
Differential
Equations.
Section
3.2
FIRST
ORDER
ODE.
Page
114
Problem
number
:
Example
3.11
Date
solved
:
Sunday, March 30, 2025 at 12:11:42 PM
CAS
classification
:
[_separable]
ode:=diff(y(t),t) = -2/t+1/t*y(t)+1/t*y(t)^2; dsolve(ode,y(t), singsol=all);
ode=D[y[t],t]==-2/t+1/t*y[t]+1/t*y[t]^2; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(Derivative(y(t), t) - y(t)**2/t - y(t)/t + 2/t,0) ics = {} dsolve(ode,func=y(t),ics=ics)