Internal
problem
ID
[15120]
Book
:
Ordinary
Differential
Equations.
An
introduction
to
the
fundamentals.
Kenneth
B.
Howell.
second
edition.
CRC
Press.
FL,
USA.
2020
Section
:
Chapter
8.
Review
exercises
for
part
of
part
II.
page
143
Problem
number
:
41
Date
solved
:
Thursday, March 13, 2025 at 05:41:01 AM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(x),x)+2*y(x) = sin(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+2*y[x]==Sin[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*y(x) - sin(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)