Internal
problem
ID
[2920]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
8,
page
34
Problem
number
:
7
Date
solved
:
Sunday, March 30, 2025 at 12:55:30 AM
CAS
classification
:
[_exact]
ode:=y(x)*cos(x)-2*sin(y(x)) = (2*x*cos(y(x))-sin(x))*diff(y(x),x); dsolve(ode,y(x), singsol=all);
ode=(y[x]*Cos[x]-2*Sin[y[x]])==(2*x*Cos[y[x]]-Sin[x])*D[y[x],x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((-2*x*cos(y(x)) + sin(x))*Derivative(y(x), x) + y(x)*cos(x) - 2*sin(y(x)),0) ics = {} dsolve(ode,func=y(x),ics=ics)
Timed Out