Internal
problem
ID
[21945]
Book
:
Differential
Equations
By
Kaj
L.
Nielsen.
Second
edition
1966.
Barnes
and
nobel.
66-28306
Section
:
Chapter
III.
First
order
differential
equations
of
the
first
degree.
Ex.
VII
at
page
50
Problem
number
:
2
(b)
Date
solved
:
Thursday, October 02, 2025 at 08:18:58 PM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)+y(x)*sin(x) = 2*x*exp(cos(x)); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+Sin[x]*y[x]==2*x*Exp[ Cos[x] ]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*x*exp(cos(x)) + y(x)*sin(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)