- Split input into 3 regimes
if F < -1.0011785747112418e+132
Initial program 37.5
\[\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 simplification37.4
\[\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/32.4
\[\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 clear-num32.4
\[\leadsto \color{blue}{\frac{1}{\frac{\sin B}{{\left(\left(2 + F \cdot F\right) + 2 \cdot x\right)}^{\frac{-1}{2}} \cdot F}}} - \frac{x}{\tan B}\]
Taylor expanded around -inf 0.2
\[\leadsto \frac{1}{\color{blue}{-\left(\frac{x \cdot \sin B}{{F}^{2}} + \sin B\right)}} - \frac{x}{\tan B}\]
Simplified0.2
\[\leadsto \frac{1}{\color{blue}{\left(-1 - \frac{\frac{x}{F}}{F}\right) \cdot \sin B}} - \frac{x}{\tan B}\]
if -1.0011785747112418e+132 < F < 104881760.31626406
Initial program 1.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 simplification1.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 associate-*r/0.3
\[\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 clear-num0.3
\[\leadsto \color{blue}{\frac{1}{\frac{\sin B}{{\left(\left(2 + F \cdot F\right) + 2 \cdot x\right)}^{\frac{-1}{2}} \cdot F}}} - \frac{x}{\tan B}\]
if 104881760.31626406 < F
Initial program 24.7
\[\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.6
\[\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.4
\[\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 clear-num19.4
\[\leadsto \color{blue}{\frac{1}{\frac{\sin B}{{\left(\left(2 + F \cdot F\right) + 2 \cdot x\right)}^{\frac{-1}{2}} \cdot F}}} - \frac{x}{\tan B}\]
Taylor expanded around inf 0.2
\[\leadsto \frac{1}{\color{blue}{\frac{x \cdot \sin B}{{F}^{2}} + \sin B}} - \frac{x}{\tan B}\]
- Recombined 3 regimes into one program.
Final simplification0.2
\[\leadsto \begin{array}{l}
\mathbf{if}\;F \le -1.0011785747112418 \cdot 10^{+132}:\\
\;\;\;\;\frac{1}{\left(-1 - \frac{\frac{x}{F}}{F}\right) \cdot \sin B} - \frac{x}{\tan B}\\
\mathbf{elif}\;F \le 104881760.31626406:\\
\;\;\;\;\frac{1}{\frac{\sin B}{F \cdot {\left(\left(F \cdot F + 2\right) + x \cdot 2\right)}^{\frac{-1}{2}}}} - \frac{x}{\tan B}\\
\mathbf{else}:\\
\;\;\;\;\frac{1}{\frac{x \cdot \sin B}{{F}^{2}} + \sin B} - \frac{x}{\tan B}\\
\end{array}\]