Internal
problem
ID
[15034]
Book
:
Ordinary
Differential
Equations.
An
introduction
to
the
fundamentals.
Kenneth
B.
Howell.
second
edition.
CRC
Press.
FL,
USA.
2020
Section
:
Chapter
5.
LINEAR
FIRST
ORDER
EQUATIONS.
Additional
exercises.
page
103
Problem
number
:
5.3
(c)
Date
solved
:
Monday, March 31, 2025 at 01:13:33 PM
CAS
classification
:
[[_linear, `class A`]]
With initial conditions
ode:=diff(y(x),x)+5*y(x) = exp(-3*x); ic:=y(0) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]+5*y[x]==Exp[-3*x]; ic={y[0]==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(5*y(x) + Derivative(y(x), x) - exp(-3*x),0) ics = {y(0): 0} dsolve(ode,func=y(x),ics=ics)