Internal
problem
ID
[14366]
Book
:
A
First
Course
in
Differential
Equations
by
J.
David
Logan.
Third
Edition.
Springer-Verlag,
NY.
2015.
Section
:
Chapter
1,
First
order
differential
equations.
Section
1.4.1.
Integrating
factors.
Exercises
page
41
Problem
number
:
2(e)
Date
solved
:
Thursday, October 02, 2025 at 09:34:04 AM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(theta(t),t) = -a*theta(t)+exp(b*t); dsolve(ode,theta(t), singsol=all);
ode=D[ theta[t],t]==-a*theta[t]+Exp[b*t]; ic={}; DSolve[{ode,ic},theta[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") a = symbols("a") b = symbols("b") theta = Function("theta") ode = Eq(a*theta(t) - exp(b*t) + Derivative(theta(t), t),0) ics = {} dsolve(ode,func=theta(t),ics=ics)