Internal
problem
ID
[12303]
Book
:
Differential
Gleichungen,
E.
Kamke,
3rd
ed.
Chelsea
Pub.
NY,
1948
Section
:
Chapter
2,
linear
second
order
Problem
number
:
1008
Date
solved
:
Wednesday, October 01, 2025 at 01:42:57 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)+a^2*y(x)-cot(a*x) = 0; dsolve(ode,y(x), singsol=all);
ode=-Cot[a*x] + a^2*y[x] + D[y[x],{x,2}] == 0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") y = Function("y") ode = Eq(a**2*y(x) + Derivative(y(x), (x, 2)) - 1/tan(a*x),0) ics = {} dsolve(ode,func=y(x),ics=ics)