Internal
problem
ID
[13783]
Book
:
Differential
equations
and
the
calculus
of
variations
by
L.
ElSGOLTS.
MIR
PUBLISHERS,
MOSCOW,
Third
printing
1977.
Section
:
Chapter
1,
First-Order
Differential
Equations.
Problems
page
88
Problem
number
:
Problem
7
Date
solved
:
Monday, March 31, 2025 at 08:11:43 AM
CAS
classification
:
[_linear]
ode:=y(x)*sin(x)+diff(y(x),x)*cos(x) = 1; dsolve(ode,y(x), singsol=all);
ode=y[x]*Sin[x]+D[y[x],x]*Cos[x]==1; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x)*sin(x) + cos(x)*Derivative(y(x), x) - 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)