Internal
problem
ID
[1229]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Miscellaneous
problems,
end
of
chapter
2.
Page
133
Problem
number
:
12
Date
solved
:
Saturday, March 29, 2025 at 10:48:23 PM
CAS
classification
:
[_linear]
ode:=y(x)+diff(y(x),x) = 1/(1+exp(x)); dsolve(ode,y(x), singsol=all);
ode=y[x]+D[y[x],x] == 1/(1+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) - 1/(exp(x) + 1),0) ics = {} dsolve(ode,func=y(x),ics=ics)