Internal
problem
ID
[6230]
Book
:
Mathematical
Methods
in
the
Physical
Sciences.
third
edition.
Mary
L.
Boas.
John
Wiley.
2006
Section
:
Chapter
8,
Ordinary
differential
equations.
Section
13.
Miscellaneous
problems.
page
466
Problem
number
:
23
Date
solved
:
Sunday, March 30, 2025 at 10:44:03 AM
CAS
classification
:
[_linear]
ode:=sin(theta)*cos(theta)*diff(r(theta),theta)-sin(theta)^2 = r(theta)*cos(theta)^2; dsolve(ode,r(theta), singsol=all);
ode=Sin[\[Theta]]*Cos[\[Theta]]*D[ r[\[Theta]], \[Theta] ]-Sin[\[Theta]]^2==r[\[Theta]]*Cos[\[Theta]]^2; ic={}; DSolve[{ode,ic},r[\[Theta]],\[Theta],IncludeSingularSolutions->True]
from sympy import * theta = symbols("theta") r = Function("r") ode = Eq(-r(theta)*cos(theta)**2 - sin(theta)**2 + sin(theta)*cos(theta)*Derivative(r(theta), theta),0) ics = {} dsolve(ode,func=r(theta),ics=ics)