Internal
problem
ID
[21910]
Book
:
Differential
Equations
By
Kaj
L.
Nielsen.
Second
edition
1966.
Barnes
and
nobel.
66-28306
Section
:
Chapter
II.
Definitions
and
fundamentals
Problem
number
:
2
(e)
Date
solved
:
Thursday, October 02, 2025 at 08:09:16 PM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(x),x)+y(x) = 2*exp(-x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+y[x]==2*Exp[-x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x) + Derivative(y(x), x) - 2*exp(-x),0) ics = {} dsolve(ode,func=y(x),ics=ics)