Internal
problem
ID
[19]
Book
:
Elementary
Differential
Equations.
By
C.
Henry
Edwards,
David
E.
Penney
and
David
Calvis.
6th
edition.
2008
Section
:
Chapter
1.
First
order
differential
equations.
Section
1.3.
Problems
at
page
27
Problem
number
:
1
Date
solved
:
Tuesday, March 04, 2025 at 10:38:43 AM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(x),x) = -y(x)-sin(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==-y[x]-Sin[x]; DSolve[ode,y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x) + sin(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)