Internal
problem
ID
[2977]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
10,
page
41
Problem
number
:
20
Date
solved
:
Sunday, March 30, 2025 at 01:03:03 AM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)+y(x)*cot(x)-sec(x) = 0; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+(y[x]*Cot[x]-Sec[x])==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x)/tan(x) + Derivative(y(x), x) - 1/cos(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)