- Split input into 2 regimes
if F < 6.2762756305983168e127
Initial program 9.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)}\]
Simplified9.1
\[\leadsto \color{blue}{\frac{F}{\sin B} \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(-\frac{1}{2}\right)} - x \cdot \frac{1}{\tan B}}\]
- Using strategy
rm Applied associate-*l/6.2
\[\leadsto \color{blue}{\frac{F \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(-\frac{1}{2}\right)}}{\sin B}} - x \cdot \frac{1}{\tan B}\]
- Using strategy
rm Applied associate-*r/6.1
\[\leadsto \frac{F \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(-\frac{1}{2}\right)}}{\sin B} - \color{blue}{\frac{x \cdot 1}{\tan B}}\]
if 6.2762756305983168e127 < F
Initial program 36.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)}\]
Simplified36.5
\[\leadsto \color{blue}{\frac{F}{\sin B} \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(-\frac{1}{2}\right)} - x \cdot \frac{1}{\tan B}}\]
- Using strategy
rm Applied associate-*l/30.5
\[\leadsto \color{blue}{\frac{F \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(-\frac{1}{2}\right)}}{\sin B}} - x \cdot \frac{1}{\tan B}\]
Taylor expanded around inf 3.8
\[\leadsto \frac{\color{blue}{F \cdot e^{-0.5 \cdot \left(\log 1 - 2 \cdot \log \left(\frac{1}{F}\right)\right)} - 1 \cdot \frac{e^{-0.5 \cdot \left(\log 1 - 2 \cdot \log \left(\frac{1}{F}\right)\right)}}{F}}}{\sin B} - x \cdot \frac{1}{\tan B}\]
Simplified0.3
\[\leadsto \frac{\color{blue}{{F}^{\left(2 \cdot -0.5\right)} \cdot \left(F - \frac{1}{F}\right)}}{\sin B} - x \cdot \frac{1}{\tan B}\]
- Recombined 2 regimes into one program.
Final simplification5.1
\[\leadsto \begin{array}{l}
\mathbf{if}\;F \le 6.2762756305983168 \cdot 10^{127}:\\
\;\;\;\;\frac{F \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(-\frac{1}{2}\right)}}{\sin B} - \frac{x \cdot 1}{\tan B}\\
\mathbf{else}:\\
\;\;\;\;\frac{{F}^{\left(2 \cdot -0.5\right)} \cdot \left(F - \frac{1}{F}\right)}{\sin B} - x \cdot \frac{1}{\tan B}\\
\end{array}\]