Initial program 24.1
\[R \cdot \left(2 \cdot \tan^{-1}_* \frac{\sqrt{{\left(\sin \left(\frac{\phi_1 - \phi_2}{2}\right)\right)}^{2} + \left(\left(\cos \phi_1 \cdot \cos \phi_2\right) \cdot \sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) \cdot \sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)}}{\sqrt{1 - \left({\left(\sin \left(\frac{\phi_1 - \phi_2}{2}\right)\right)}^{2} + \left(\left(\cos \phi_1 \cdot \cos \phi_2\right) \cdot \sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) \cdot \sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right)}}\right)\]
Initial simplification24.1
\[\leadsto \tan^{-1}_* \frac{\sqrt{(\left(\sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) \cdot \left(\left(\cos \phi_2 \cdot \cos \phi_1\right) \cdot \sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) + \left(\sin \left(\frac{\phi_1 - \phi_2}{2}\right) \cdot \sin \left(\frac{\phi_1 - \phi_2}{2}\right)\right))_*}}{\sqrt{(\left(\sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) \cdot \left(\left(-\cos \phi_2 \cdot \cos \phi_1\right) \cdot \sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) + \left(\cos \left(\frac{\phi_1 - \phi_2}{2}\right) \cdot \cos \left(\frac{\phi_1 - \phi_2}{2}\right)\right))_*}} \cdot \left(R \cdot 2\right)\]
- Using strategy
rm Applied add-log-exp24.1
\[\leadsto \tan^{-1}_* \frac{\sqrt{(\left(\sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) \cdot \left(\left(\cos \phi_2 \cdot \cos \phi_1\right) \cdot \sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) + \left(\sin \left(\frac{\phi_1 - \phi_2}{2}\right) \cdot \sin \left(\frac{\phi_1 - \phi_2}{2}\right)\right))_*}}{\sqrt{(\left(\sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) \cdot \left(\left(-\cos \phi_2 \cdot \cos \phi_1\right) \cdot \sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) + \left(\color{blue}{\log \left(e^{\cos \left(\frac{\phi_1 - \phi_2}{2}\right)}\right)} \cdot \cos \left(\frac{\phi_1 - \phi_2}{2}\right)\right))_*}} \cdot \left(R \cdot 2\right)\]
- Using strategy
rm Applied expm1-log1p-u24.1
\[\leadsto \tan^{-1}_* \frac{\sqrt{(\left(\sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) \cdot \left(\left(\cos \phi_2 \cdot \cos \phi_1\right) \cdot \sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) + \left(\color{blue}{(e^{\log_* (1 + \sin \left(\frac{\phi_1 - \phi_2}{2}\right))} - 1)^*} \cdot \sin \left(\frac{\phi_1 - \phi_2}{2}\right)\right))_*}}{\sqrt{(\left(\sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) \cdot \left(\left(-\cos \phi_2 \cdot \cos \phi_1\right) \cdot \sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) + \left(\log \left(e^{\cos \left(\frac{\phi_1 - \phi_2}{2}\right)}\right) \cdot \cos \left(\frac{\phi_1 - \phi_2}{2}\right)\right))_*}} \cdot \left(R \cdot 2\right)\]
Final simplification24.1
\[\leadsto \tan^{-1}_* \frac{\sqrt{(\left(\sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) \cdot \left(\sin \left(\frac{\lambda_1 - \lambda_2}{2}\right) \cdot \left(\cos \phi_1 \cdot \cos \phi_2\right)\right) + \left(\sin \left(\frac{\phi_1 - \phi_2}{2}\right) \cdot (e^{\log_* (1 + \sin \left(\frac{\phi_1 - \phi_2}{2}\right))} - 1)^*\right))_*}}{\sqrt{(\left(\sin \left(\frac{\lambda_1 - \lambda_2}{2}\right)\right) \cdot \left(\sin \left(\frac{\lambda_1 - \lambda_2}{2}\right) \cdot \left(\left(-\cos \phi_2\right) \cdot \cos \phi_1\right)\right) + \left(\log \left(e^{\cos \left(\frac{\phi_1 - \phi_2}{2}\right)}\right) \cdot \cos \left(\frac{\phi_1 - \phi_2}{2}\right)\right))_*}} \cdot \left(2 \cdot R\right)\]