Internal
problem
ID
[8452]
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.3
Linear
equations.
Exercises
2.3
at
page
63
Problem
number
:
22
Date
solved
:
Tuesday, September 30, 2025 at 05:37:16 PM
CAS
classification
:
[_separable]
ode:=diff(p(t),t)+2*t*p(t) = p(t)+4*t-2; dsolve(ode,p(t), singsol=all);
ode=D[p[t],t]+2*t*p[t]==p[t]+4*t-2; ic={}; DSolve[{ode,ic},p[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") p = Function("p") ode = Eq(2*t*p(t) - 4*t - p(t) + Derivative(p(t), t) + 2,0) ics = {} dsolve(ode,func=p(t),ics=ics)