Internal
problem
ID
[4203]
Book
:
Elementary
Differential
equations,
Chaundy,
1969
Section
:
Exercises
3,
page
60
Problem
number
:
3(c)
Date
solved
:
Sunday, March 30, 2025 at 02:42:37 AM
CAS
classification
:
[_linear]
ode:=tan(x)*diff(y(x),x)+y(x) = cot(x); dsolve(ode,y(x), singsol=all);
ode=Tan[x]*D[y[x],x]+y[x]==Cot[x]; 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/tan(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)