Internal
problem
ID
[19456]
Book
:
DIFFERENTIAL
EQUATIONS
WITH
APPLICATIONS
AND
HISTORICAL
NOTES
by
George
F.
Simmons.
3rd
edition.
2017.
CRC
press,
Boca
Raton
FL.
Section
:
Chapter
2.
First
order
equations.
Section
10
(Linear
equations).
Problems
at
page
82
Problem
number
:
2
(b)
Date
solved
:
Thursday, October 02, 2025 at 04:28:31 PM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)+y(x) = 1/(1+exp(2*x)); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+y[x]==1/(1+Exp[2*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) - 1/(exp(2*x) + 1),0) ics = {} dsolve(ode,func=y(x),ics=ics)