- Split input into 4 regimes
if b_2 < -8.178143920194742e+98
Initial program 45.0
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification45.0
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
Taylor expanded around -inf 45.0
\[\leadsto \frac{\sqrt{\color{blue}{{b_2}^{2} - a \cdot c}} - b_2}{a}\]
- Using strategy
rm Applied div-inv45.1
\[\leadsto \color{blue}{\left(\sqrt{{b_2}^{2} - a \cdot c} - b_2\right) \cdot \frac{1}{a}}\]
Taylor expanded around -inf 3.9
\[\leadsto \color{blue}{\frac{1}{2} \cdot \frac{c}{b_2} - 2 \cdot \frac{b_2}{a}}\]
if -8.178143920194742e+98 < b_2 < 1.553529129791208e-307
Initial program 10.0
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification10.0
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
Taylor expanded around -inf 10.0
\[\leadsto \frac{\sqrt{\color{blue}{{b_2}^{2} - a \cdot c}} - b_2}{a}\]
- Using strategy
rm Applied div-inv10.1
\[\leadsto \color{blue}{\left(\sqrt{{b_2}^{2} - a \cdot c} - b_2\right) \cdot \frac{1}{a}}\]
if 1.553529129791208e-307 < b_2 < 1.3090904531855408e+124
Initial program 33.7
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification33.7
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
Taylor expanded around -inf 33.7
\[\leadsto \frac{\sqrt{\color{blue}{{b_2}^{2} - a \cdot c}} - b_2}{a}\]
- Using strategy
rm Applied div-inv33.7
\[\leadsto \color{blue}{\left(\sqrt{{b_2}^{2} - a \cdot c} - b_2\right) \cdot \frac{1}{a}}\]
- Using strategy
rm Applied flip--33.8
\[\leadsto \color{blue}{\frac{\sqrt{{b_2}^{2} - a \cdot c} \cdot \sqrt{{b_2}^{2} - a \cdot c} - b_2 \cdot b_2}{\sqrt{{b_2}^{2} - a \cdot c} + b_2}} \cdot \frac{1}{a}\]
Applied associate-*l/33.8
\[\leadsto \color{blue}{\frac{\left(\sqrt{{b_2}^{2} - a \cdot c} \cdot \sqrt{{b_2}^{2} - a \cdot c} - b_2 \cdot b_2\right) \cdot \frac{1}{a}}{\sqrt{{b_2}^{2} - a \cdot c} + b_2}}\]
Simplified15.3
\[\leadsto \frac{\color{blue}{\frac{0 - a \cdot c}{a}}}{\sqrt{{b_2}^{2} - a \cdot c} + b_2}\]
- Using strategy
rm Applied sub0-neg15.3
\[\leadsto \frac{\frac{\color{blue}{-a \cdot c}}{a}}{\sqrt{{b_2}^{2} - a \cdot c} + b_2}\]
Applied distribute-frac-neg15.3
\[\leadsto \frac{\color{blue}{-\frac{a \cdot c}{a}}}{\sqrt{{b_2}^{2} - a \cdot c} + b_2}\]
Simplified8.8
\[\leadsto \frac{-\color{blue}{c}}{\sqrt{{b_2}^{2} - a \cdot c} + b_2}\]
if 1.3090904531855408e+124 < b_2
Initial program 59.8
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification59.8
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
Taylor expanded around -inf 59.8
\[\leadsto \frac{\sqrt{\color{blue}{{b_2}^{2} - a \cdot c}} - b_2}{a}\]
- Using strategy
rm Applied div-inv59.8
\[\leadsto \color{blue}{\left(\sqrt{{b_2}^{2} - a \cdot c} - b_2\right) \cdot \frac{1}{a}}\]
Taylor expanded around inf 2.1
\[\leadsto \color{blue}{\frac{-1}{2} \cdot \frac{c}{b_2}}\]
- Recombined 4 regimes into one program.
Final simplification7.1
\[\leadsto \begin{array}{l}
\mathbf{if}\;b_2 \le -8.178143920194742 \cdot 10^{+98}:\\
\;\;\;\;\frac{1}{2} \cdot \frac{c}{b_2} - \frac{b_2}{a} \cdot 2\\
\mathbf{elif}\;b_2 \le 1.553529129791208 \cdot 10^{-307}:\\
\;\;\;\;\frac{1}{a} \cdot \left(\sqrt{{b_2}^{2} - c \cdot a} - b_2\right)\\
\mathbf{elif}\;b_2 \le 1.3090904531855408 \cdot 10^{+124}:\\
\;\;\;\;\frac{-c}{\sqrt{{b_2}^{2} - c \cdot a} + b_2}\\
\mathbf{else}:\\
\;\;\;\;\frac{-1}{2} \cdot \frac{c}{b_2}\\
\end{array}\]