Internal
problem
ID
[7080]
Book
:
A
First
Course
in
Differential
Equations
with
Modeling
Applications
by
Dennis
G.
Zill.
12
ed.
Metric
version.
2024.
Cengage
learning.
Section
:
Chapter
2.
First
order
differential
equations.
Section
2.2
Separable
equations.
Exercises
2.2
at
page
53
Problem
number
:
18
Date
solved
:
Sunday, March 30, 2025 at 11:38:46 AM
CAS
classification
:
[_separable]
ode:=diff(n(t),t)+n(t) = n(t)*t*exp(t+2); dsolve(ode,n(t), singsol=all);
ode=D[n[t],t]+n[t]==n[t]*t*Exp[t+2]; ic={}; DSolve[{ode,ic},n[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") n = Function("n") ode = Eq(-t*n(t)*exp(t + 2) + n(t) + Derivative(n(t), t),0) ics = {} dsolve(ode,func=n(t),ics=ics)