Internal
problem
ID
[13678]
Book
:
AN
INTRODUCTION
TO
ORDINARY
DIFFERENTIAL
EQUATIONS
by
JAMES
C.
ROBINSON.
Cambridge
University
Press
2004
Section
:
Chapter
10,
Two
tricks
for
nonlinear
equations.
Exercises
page
97
Problem
number
:
10.5
Date
solved
:
Monday, March 31, 2025 at 08:08:40 AM
CAS
classification
:
[_quadrature]
ode:=diff(x(t),t) = k*x(t)-x(t)^2; dsolve(ode,x(t), singsol=all);
ode=D[x[t],t]==k*x[t]-x[t]^2; ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") k = symbols("k") x = Function("x") ode = Eq(-k*x(t) + x(t)**2 + Derivative(x(t), t),0) ics = {} dsolve(ode,func=x(t),ics=ics)