Internal
problem
ID
[17130]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
1.
Introduction
to
Differential
Equations.
Review
exercises,
page
23
Problem
number
:
7
Date
solved
:
Thursday, October 02, 2025 at 01:44:11 PM
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]; 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)