Initial program 16.5
\[\cos^{-1} \left(\sin \phi_1 \cdot \sin \phi_2 + \left(\cos \phi_1 \cdot \cos \phi_2\right) \cdot \cos \left(\lambda_1 - \lambda_2\right)\right) \cdot R\]
Initial simplification16.5
\[\leadsto R \cdot \cos^{-1} \left((\left(\cos \phi_1 \cdot \cos \phi_2\right) \cdot \left(\cos \left(\lambda_1 - \lambda_2\right)\right) + \left(\sin \phi_2 \cdot \sin \phi_1\right))_*\right)\]
- Using strategy
rm Applied cos-diff3.6
\[\leadsto R \cdot \cos^{-1} \left((\left(\cos \phi_1 \cdot \cos \phi_2\right) \cdot \color{blue}{\left(\cos \lambda_1 \cdot \cos \lambda_2 + \sin \lambda_1 \cdot \sin \lambda_2\right)} + \left(\sin \phi_2 \cdot \sin \phi_1\right))_*\right)\]
- Using strategy
rm Applied acos-asin3.7
\[\leadsto R \cdot \color{blue}{\left(\frac{\pi}{2} - \sin^{-1} \left((\left(\cos \phi_1 \cdot \cos \phi_2\right) \cdot \left(\cos \lambda_1 \cdot \cos \lambda_2 + \sin \lambda_1 \cdot \sin \lambda_2\right) + \left(\sin \phi_2 \cdot \sin \phi_1\right))_*\right)\right)}\]
- Using strategy
rm Applied asin-acos3.6
\[\leadsto R \cdot \left(\frac{\pi}{2} - \color{blue}{\left(\frac{\pi}{2} - \cos^{-1} \left((\left(\cos \phi_1 \cdot \cos \phi_2\right) \cdot \left(\cos \lambda_1 \cdot \cos \lambda_2 + \sin \lambda_1 \cdot \sin \lambda_2\right) + \left(\sin \phi_2 \cdot \sin \phi_1\right))_*\right)\right)}\right)\]
- Using strategy
rm Applied add-log-exp3.7
\[\leadsto R \cdot \color{blue}{\log \left(e^{\frac{\pi}{2} - \left(\frac{\pi}{2} - \cos^{-1} \left((\left(\cos \phi_1 \cdot \cos \phi_2\right) \cdot \left(\cos \lambda_1 \cdot \cos \lambda_2 + \sin \lambda_1 \cdot \sin \lambda_2\right) + \left(\sin \phi_2 \cdot \sin \phi_1\right))_*\right)\right)}\right)}\]
Final simplification3.7
\[\leadsto R \cdot \log \left(e^{\frac{\pi}{2} - \left(\frac{\pi}{2} - \cos^{-1} \left((\left(\cos \phi_2 \cdot \cos \phi_1\right) \cdot \left(\cos \lambda_2 \cdot \cos \lambda_1 + \sin \lambda_2 \cdot \sin \lambda_1\right) + \left(\sin \phi_2 \cdot \sin \phi_1\right))_*\right)\right)}\right)\]