Internal
problem
ID
[7928]
Book
:
Differential
Equations:
Theory,
Technique,
and
Practice
by
George
Simmons,
Steven
Krantz.
McGraw-Hill
NY.
2007.
1st
Edition.
Section
:
Chapter
1.
What
is
a
differential
equation.
Problems
for
Review
and
Discovery.
Page
53
Problem
number
:
2(d)
Date
solved
:
Sunday, March 30, 2025 at 12:37:48 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=csc(x)*diff(y(x),x) = csc(y(x)); ic:=y(1/2*Pi) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=Csc[x]*D[y[x],x]==Csc[y[x]]; ic={y[Pi/2]==1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-1/sin(y(x)) + Derivative(y(x), x)/sin(x),0) ics = {y(pi/2): 1} dsolve(ode,func=y(x),ics=ics)