Internal
problem
ID
[171]
Book
:
Elementary
Differential
Equations.
By
C.
Henry
Edwards,
David
E.
Penney
and
David
Calvis.
6th
edition.
2008
Section
:
Chapter
1.
First
order
differential
equations.
Section
1.7
(population
models).
Problems
at
page
82
Problem
number
:
1
Date
solved
:
Tuesday, March 04, 2025 at 10:56:17 AM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=diff(x(t),t) = x(t)-x(t)^2; ic:=x(0) = 2; dsolve([ode,ic],x(t), singsol=all);
ode=D[x[t],t]==x[t]-x[t]^2; ic={x[0]==2}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(x(t)**2 - x(t) + Derivative(x(t), t),0) ics = {x(0): 2} dsolve(ode,func=x(t),ics=ics)