Internal
problem
ID
[2999]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
11,
page
45
Problem
number
:
18
Date
solved
:
Tuesday, March 04, 2025 at 03:39:42 PM
CAS
classification
:
[[_1st_order, _with_linear_symmetries], _Bernoulli]
With initial conditions
ode:=diff(y(t),t)+y(t) = y(t)^2*exp(-t); ic:=y(0) = 2; dsolve([ode,ic],y(t), singsol=all);
ode=D[y[t],t]+y[t]==y[t]^2*Exp[-t]; ic={y[0]==2}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-y(t)**2*exp(-t) + y(t) + Derivative(y(t), t),0) ics = {y(0): 2} dsolve(ode,func=y(t),ics=ics)