- Split input into 3 regimes
if F < -5.19793743060106e+16
Initial program 25.0
\[\left(-x \cdot \frac{1}{\tan B}\right) + \frac{F}{\sin B} \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(-\frac{1}{2}\right)}\]
Initial simplification25.0
\[\leadsto {\left(\left(2 + F \cdot F\right) + 2 \cdot x\right)}^{\frac{-1}{2}} \cdot \frac{F}{\sin B} - \frac{x}{\tan B}\]
- Using strategy
rm Applied associate-*r/19.6
\[\leadsto \color{blue}{\frac{{\left(\left(2 + F \cdot F\right) + 2 \cdot x\right)}^{\frac{-1}{2}} \cdot F}{\sin B}} - \frac{x}{\tan B}\]
- Using strategy
rm Applied div-inv19.6
\[\leadsto \frac{{\left(\left(2 + F \cdot F\right) + 2 \cdot x\right)}^{\frac{-1}{2}} \cdot F}{\sin B} - \color{blue}{x \cdot \frac{1}{\tan B}}\]
Taylor expanded around -inf 0.2
\[\leadsto \frac{\color{blue}{\frac{1}{{F}^{2}} - 1}}{\sin B} - x \cdot \frac{1}{\tan B}\]
if -5.19793743060106e+16 < F < 11595.306275235083
Initial program 0.4
\[\left(-x \cdot \frac{1}{\tan B}\right) + \frac{F}{\sin B} \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(-\frac{1}{2}\right)}\]
Initial simplification0.3
\[\leadsto {\left(\left(2 + F \cdot F\right) + 2 \cdot x\right)}^{\frac{-1}{2}} \cdot \frac{F}{\sin B} - \frac{x}{\tan B}\]
- Using strategy
rm Applied add-sqr-sqrt0.3
\[\leadsto {\color{blue}{\left(\sqrt{\left(2 + F \cdot F\right) + 2 \cdot x} \cdot \sqrt{\left(2 + F \cdot F\right) + 2 \cdot x}\right)}}^{\frac{-1}{2}} \cdot \frac{F}{\sin B} - \frac{x}{\tan B}\]
Applied unpow-prod-down0.3
\[\leadsto \color{blue}{\left({\left(\sqrt{\left(2 + F \cdot F\right) + 2 \cdot x}\right)}^{\frac{-1}{2}} \cdot {\left(\sqrt{\left(2 + F \cdot F\right) + 2 \cdot x}\right)}^{\frac{-1}{2}}\right)} \cdot \frac{F}{\sin B} - \frac{x}{\tan B}\]
Applied associate-*l*0.3
\[\leadsto \color{blue}{{\left(\sqrt{\left(2 + F \cdot F\right) + 2 \cdot x}\right)}^{\frac{-1}{2}} \cdot \left({\left(\sqrt{\left(2 + F \cdot F\right) + 2 \cdot x}\right)}^{\frac{-1}{2}} \cdot \frac{F}{\sin B}\right)} - \frac{x}{\tan B}\]
if 11595.306275235083 < F
Initial program 24.1
\[\left(-x \cdot \frac{1}{\tan B}\right) + \frac{F}{\sin B} \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(-\frac{1}{2}\right)}\]
Initial simplification24.0
\[\leadsto {\left(\left(2 + F \cdot F\right) + 2 \cdot x\right)}^{\frac{-1}{2}} \cdot \frac{F}{\sin B} - \frac{x}{\tan B}\]
- Using strategy
rm Applied associate-*r/18.8
\[\leadsto \color{blue}{\frac{{\left(\left(2 + F \cdot F\right) + 2 \cdot x\right)}^{\frac{-1}{2}} \cdot F}{\sin B}} - \frac{x}{\tan B}\]
- Using strategy
rm Applied div-inv18.8
\[\leadsto \frac{{\left(\left(2 + F \cdot F\right) + 2 \cdot x\right)}^{\frac{-1}{2}} \cdot F}{\sin B} - \color{blue}{x \cdot \frac{1}{\tan B}}\]
Taylor expanded around inf 0.2
\[\leadsto \frac{\color{blue}{1 - \frac{1}{{F}^{2}}}}{\sin B} - x \cdot \frac{1}{\tan B}\]
- Recombined 3 regimes into one program.
Final simplification0.3
\[\leadsto \begin{array}{l}
\mathbf{if}\;F \le -5.19793743060106 \cdot 10^{+16}:\\
\;\;\;\;\frac{\frac{1}{{F}^{2}} - 1}{\sin B} - x \cdot \frac{1}{\tan B}\\
\mathbf{elif}\;F \le 11595.306275235083:\\
\;\;\;\;{\left(\sqrt{x \cdot 2 + \left(2 + F \cdot F\right)}\right)}^{\frac{-1}{2}} \cdot \left({\left(\sqrt{x \cdot 2 + \left(2 + F \cdot F\right)}\right)}^{\frac{-1}{2}} \cdot \frac{F}{\sin B}\right) - \frac{x}{\tan B}\\
\mathbf{else}:\\
\;\;\;\;\frac{1 - \frac{1}{{F}^{2}}}{\sin B} - x \cdot \frac{1}{\tan B}\\
\end{array}\]