Internal
problem
ID
[7550]
Book
:
THEORY
OF
DIFFERENTIAL
EQUATIONS
IN
ENGINEERING
AND
MECHANICS.
K.T.
CHAU,
CRC
Press.
Boca
Raton,
FL.
2018
Section
:
Chapter
3.
Ordinary
Differential
Equations.
Section
3.6
Summary
and
Problems.
Page
218
Problem
number
:
Problem
3.11
Date
solved
:
Sunday, March 30, 2025 at 12:14:39 PM
CAS
classification
:
[_Bernoulli]
ode:=diff(phi(theta),theta)-1/2*phi(theta)^2-phi(theta)*cot(theta) = 0; dsolve(ode,phi(theta), singsol=all);
ode=D[ \[Phi][\[Theta]] , \[Theta] ]-1/2*\[Phi][\[Theta]]^2-\[Phi][\[Theta]]*Cot[\[Theta]]==0; ic={}; DSolve[{ode,ic},\[Phi][\[Theta]],\[Theta],IncludeSingularSolutions->True]
from sympy import * theta = symbols("theta") phi = Function("phi") ode = Eq(-phi(theta)**2/2 - phi(theta)/tan(theta) + Derivative(phi(theta), theta),0) ics = {} dsolve(ode,func=phi(theta),ics=ics)