Internal
problem
ID
[6720]
Book
:
Schaums
Outline.
Theory
and
problems
of
Differential
Equations,
1st
edition.
Frank
Ayres.
McGraw
Hill
1952
Section
:
Chapter
14.
Linear
equations
with
constant
coefficients.
Supplemetary
problems.
Page
92
Problem
number
:
20
Date
solved
:
Wednesday, March 05, 2025 at 02:40:07 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)-y(x) = 1/(1+exp(-x))^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]-y[x]==(1+Exp[-x])^(-2); 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)) - 1/(1 + exp(-x))**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)