Internal
problem
ID
[17330]
Book
:
Differential
equations.
An
introduction
to
modern
methods
and
applications.
James
Brannan,
William
E.
Boyce.
Third
edition.
Wiley
2015
Section
:
Chapter
2.
First
order
differential
equations.
Section
2.6
(Exact
equations
and
integrating
factors).
Problems
at
page
100
Problem
number
:
7
Date
solved
:
Monday, March 31, 2025 at 03:53:34 PM
CAS
classification
:
[_exact]
ode:=exp(x)*sin(y(x))-2*sin(x)*y(x)+(exp(x)*cos(y(x))+2*cos(x))*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(Exp[x]*Sin[y[x]]-2*y[x]*Sin[x])+(Exp[x]*Cos[y[x]]+2*Cos[x])*D[y[x],x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((exp(x)*cos(y(x)) + 2*cos(x))*Derivative(y(x), x) - 2*y(x)*sin(x) + exp(x)*sin(y(x)),0) ics = {} dsolve(ode,func=y(x),ics=ics)
Timed Out