Internal
problem
ID
[23255]
Book
:
Ordinary
differential
equations
with
modern
applications.
Ladas,
G.
E.
and
Finizio,
N.
Wadsworth
Publishing.
California.
1978.
ISBN
0-534-00552-7.
QA372.F56
Section
:
Chapter
1.
Elementary
methods.
First
order
differential
equations.
Exercise
at
page
26
Problem
number
:
6
Date
solved
:
Thursday, October 02, 2025 at 09:27:10 PM
CAS
classification
:
[_quadrature]
ode:=diff(p(t),t) = a*p(t)-b*p(t)^2; dsolve(ode,p(t), singsol=all);
ode=D[p[t],t]==a*p[t]-b*p[t]^2; ic={}; DSolve[{ode,ic},p[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") a = symbols("a") b = symbols("b") p = Function("p") ode = Eq(-a*p(t) + b*p(t)**2 + Derivative(y(x), x),0) ics = {} dsolve(ode,func=p(t),ics=ics)