I have the differential equation
DE:=$\frac{d^2}{d\phi^2}(\frac{1}{r(\phi)})+\frac{1}{r(\phi)}=1+\frac{3}{64r(\phi)^2}$,
with initial conditions
ICS:=$r(0)=\frac{2}{3}, (r)'(0)=0$.
Solving for $r(\phi)$ and plotting the orbit with polar coordinates
sol:=dsolve({DE,ICs},numeric,output=listprocedure);
r_sol:=rhs(sol[2]);
polarplot(r_sol(phi),phi=0..10*Pi;
I observe an orbit about the origin that has precessing perihelion. I want to calculate, using Maple, how much the perhelion precesses by per revolution. How do I find the value of $\phi$ for each of the perihelia?
An efficient way to do this in Maple is to use the
eventsoption ofdsolve(...,numeric)to recognize whenr(phi)is at a local minimum.A less efficient way (in general, though perhaps not so noticeable here) would be to use the
Optimization:-Minimizecommand on a procedure returned bydsolve(...,numeric)for evaluatingr(phi).