Internal
problem
ID
[661]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Section
1.3.
Slope
fields
and
solution
curves.
Page
26
Problem
number
:
1
Date
solved
:
Tuesday, September 30, 2025 at 04:05:06 AM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(x),x) = -sin(x)-y(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]== -Sin[x]-y[x]; ic={}; DSolve[{ode,ic},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)