Internal
problem
ID
[23113]
Book
:
An
introduction
to
Differential
Equations.
By
Howard
Frederick
Cleaves.
1969.
Oliver
and
Boyd
publisher.
ISBN
0050015044
Section
:
Chapter
4.
Linear
equations
of
the
first
order.
Exercise
4b
at
page
64
Problem
number
:
6
(a)
Date
solved
:
Thursday, October 02, 2025 at 09:22:59 PM
CAS
classification
:
[_linear]
ode:=cos(x)*diff(y(x),x)+y(x)*sin(x) = x; dsolve(ode,y(x), singsol=all);
ode=Cos[x]*D[y[x],x]+y[x]*Sin[x]==x; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x + y(x)*sin(x) + cos(x)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)