- Split input into 3 regimes
if F < -7.393823576386876e+159
Initial program 42.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)}\]
Taylor expanded around -inf 0.2
\[\leadsto \left(-x \cdot \frac{1}{\tan B}\right) + \color{blue}{\left(\frac{1}{{F}^{2} \cdot \sin B} - \frac{1}{\sin B}\right)}\]
Simplified0.2
\[\leadsto \left(-x \cdot \frac{1}{\tan B}\right) + \color{blue}{\frac{\frac{1}{F \cdot F} - 1}{\sin B}}\]
if -7.393823576386876e+159 < F < 63313.348454549254
Initial program 2.2
\[\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)}\]
- Using strategy
rm Applied pow-neg2.2
\[\leadsto \left(-x \cdot \frac{1}{\tan B}\right) + \frac{F}{\sin B} \cdot \color{blue}{\frac{1}{{\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(\frac{1}{2}\right)}}}\]
Applied frac-times0.8
\[\leadsto \left(-x \cdot \frac{1}{\tan B}\right) + \color{blue}{\frac{F \cdot 1}{\sin B \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(\frac{1}{2}\right)}}}\]
Simplified0.8
\[\leadsto \left(-x \cdot \frac{1}{\tan B}\right) + \frac{\color{blue}{F}}{\sin B \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(\frac{1}{2}\right)}}\]
- Using strategy
rm Applied un-div-inv0.7
\[\leadsto \left(-\color{blue}{\frac{x}{\tan B}}\right) + \frac{F}{\sin B \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(\frac{1}{2}\right)}}\]
- Using strategy
rm Applied clear-num0.8
\[\leadsto \left(-\color{blue}{\frac{1}{\frac{\tan B}{x}}}\right) + \frac{F}{\sin B \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(\frac{1}{2}\right)}}\]
if 63313.348454549254 < 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)}\]
Taylor expanded around inf 0.2
\[\leadsto \left(-x \cdot \frac{1}{\tan B}\right) + \color{blue}{\left(\frac{1}{\sin B} - \frac{1}{{F}^{2} \cdot \sin B}\right)}\]
Simplified0.2
\[\leadsto \left(-x \cdot \frac{1}{\tan B}\right) + \color{blue}{\frac{1 - \frac{1}{F \cdot F}}{\sin B}}\]
- Recombined 3 regimes into one program.
Final simplification0.5
\[\leadsto \begin{array}{l}
\mathbf{if}\;F \le -7.393823576386876 \cdot 10^{+159}:\\
\;\;\;\;\frac{1}{\tan B} \cdot \left(-x\right) + \frac{\frac{1}{F \cdot F} - 1}{\sin B}\\
\mathbf{elif}\;F \le 63313.348454549254:\\
\;\;\;\;\frac{F}{\sin B \cdot {\left(x \cdot 2 + \left(2 + F \cdot F\right)\right)}^{\left(\frac{1}{2}\right)}} + \frac{-1}{\frac{\tan B}{x}}\\
\mathbf{else}:\\
\;\;\;\;\frac{1 - \frac{1}{F \cdot F}}{\sin B} + \frac{1}{\tan B} \cdot \left(-x\right)\\
\end{array}\]