Internal
problem
ID
[20401]
Book
:
A
Text
book
for
differentional
equations
for
postgraduate
students
by
Ray
and
Chaturvedi.
First
edition,
1958.
BHASKAR
press.
INDIA
Section
:
Chapter
II.
Equations
of
first
order
and
first
degree.
Exercise
II
(D)
at
page
16
Problem
number
:
21
Date
solved
:
Thursday, October 02, 2025 at 05:52:41 PM
CAS
classification
:
[_Bernoulli]
ode:=diff(y(x),x)+cos(x)*y(x) = y(x)^n*sin(2*x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+y[x]*Cos[x]==y[x]^n*Sin[2*x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") n = symbols("n") y = Function("y") ode = Eq(y(x)*cos(x) - y(x)**n*sin(2*x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)