Internal
problem
ID
[23106]
Book
:
An
introduction
to
Differential
Equations.
By
Howard
Frederick
Cleaves.
1969.
Oliver
and
Boyd
publisher.
ISBN
0050015044
Section
:
Chapter
4.
Linear
equations
of
the
first
order.
Exercise
4a
at
page
56
Problem
number
:
13
Date
solved
:
Thursday, October 02, 2025 at 09:22:02 PM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=diff(p(t),t) = 15-20*p(t); ic:=[p(0) = 7/10]; dsolve([ode,op(ic)],p(t), singsol=all);
ode=D[p[t],t]==15-20*p[t]; ic={p[0]==7/10}; DSolve[{ode,ic},p[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") p = Function("p") ode = Eq(x*y(x) + 20*p(t) + Derivative(p(t), t) - 15,0) ics = {p(0): 7/10} dsolve(ode,func=p(t),ics=ics)