- Split input into 4 regimes
if b_2 < -1.264593303802393e+105
Initial program 46.8
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied flip-+61.7
\[\leadsto \frac{\color{blue}{\frac{\left(-b_2\right) \cdot \left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c} \cdot \sqrt{b_2 \cdot b_2 - a \cdot c}}{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}}}{a}\]
Applied simplify61.8
\[\leadsto \frac{\frac{\color{blue}{c \cdot a}}{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}}{a}\]
Taylor expanded around -inf 20.6
\[\leadsto \frac{\frac{c \cdot a}{\color{blue}{\frac{-1}{2} \cdot \frac{c \cdot a}{b_2}}}}{a}\]
Applied simplify3.1
\[\leadsto \color{blue}{\frac{1 \cdot b_2}{\frac{-1}{2} \cdot a}}\]
if -1.264593303802393e+105 < b_2 < 1.2756034067314184e-220
Initial program 10.5
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied div-inv10.7
\[\leadsto \color{blue}{\left(\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}\right) \cdot \frac{1}{a}}\]
if 1.2756034067314184e-220 < b_2 < 2625303235.366119
Initial program 29.6
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied flip-+29.8
\[\leadsto \frac{\color{blue}{\frac{\left(-b_2\right) \cdot \left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c} \cdot \sqrt{b_2 \cdot b_2 - a \cdot c}}{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}}}{a}\]
Applied simplify17.5
\[\leadsto \frac{\frac{\color{blue}{c \cdot a}}{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}}{a}\]
- Using strategy
rm Applied clear-num17.5
\[\leadsto \color{blue}{\frac{1}{\frac{a}{\frac{c \cdot a}{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}}}}\]
if 2625303235.366119 < b_2
Initial program 54.9
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied flip-+54.9
\[\leadsto \frac{\color{blue}{\frac{\left(-b_2\right) \cdot \left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c} \cdot \sqrt{b_2 \cdot b_2 - a \cdot c}}{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}}}{a}\]
Applied simplify27.8
\[\leadsto \frac{\frac{\color{blue}{c \cdot a}}{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}}{a}\]
- Using strategy
rm Applied clear-num27.9
\[\leadsto \color{blue}{\frac{1}{\frac{a}{\frac{c \cdot a}{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}}}}\]
Taylor expanded around inf 18.4
\[\leadsto \frac{1}{\frac{a}{\frac{c \cdot a}{\left(-b_2\right) - \color{blue}{\left(b_2 + \frac{1}{2} \cdot \frac{c \cdot a}{b_2}\right)}}}}\]
Applied simplify6.5
\[\leadsto \color{blue}{\frac{c}{\left(\left(-b_2\right) - b_2\right) - \frac{c}{b_2} \cdot \left(\frac{1}{2} \cdot a\right)}}\]
- Recombined 4 regimes into one program.
Applied simplify9.3
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b_2 \le -1.264593303802393 \cdot 10^{+105}:\\
\;\;\;\;\frac{b_2}{a \cdot \frac{-1}{2}}\\
\mathbf{if}\;b_2 \le 1.2756034067314184 \cdot 10^{-220}:\\
\;\;\;\;\left(\sqrt{b_2 \cdot b_2 - c \cdot a} + \left(-b_2\right)\right) \cdot \frac{1}{a}\\
\mathbf{if}\;b_2 \le 2625303235.366119:\\
\;\;\;\;\frac{1}{\frac{a}{\frac{c \cdot a}{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - c \cdot a}}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{c}{\left(\left(-b_2\right) - b_2\right) - \frac{c}{b_2} \cdot \left(\frac{1}{2} \cdot a\right)}\\
\end{array}}\]