Internal
problem
ID
[7513]
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.12
Date
solved
:
Sunday, March 30, 2025 at 12:11:46 PM
CAS
classification
:
[_rational, _Riccati]
ode:=diff(y(t),t) = -1/t*y(t)-1-y(t)^2; dsolve(ode,y(t), singsol=all);
ode=D[y[t],t]==-y[t]/t-1-y[t]^2; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(y(t)**2 + Derivative(y(t), t) + 1 + y(t)/t,0) ics = {} dsolve(ode,func=y(t),ics=ics)
TypeError : bad operand type for unary -: list