Internal
problem
ID
[4225]
Book
:
Advanced
Mathematica,
Book2,
Perkin
and
Perkin,
1992
Section
:
Chapter
11.3,
page
316
Problem
number
:
13
Date
solved
:
Tuesday, September 30, 2025 at 07:07:45 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=cot(x)*diff(y(x),x) = y(x); ic:=[y(0) = 2]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=Cot[x]*D[y[x],x]==y[x]; ic=y[0]==2; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-y(x) + Derivative(y(x), x)/tan(x),0) ics = {y(0): 2} dsolve(ode,func=y(x),ics=ics)