- Split input into 3 regimes
if b < -1.5438823640975016e+89
Initial program 42.7
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
- Using strategy
rm Applied clear-num42.8
\[\leadsto \color{blue}{\frac{1}{\frac{3 \cdot a}{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}}\]
Applied simplify42.8
\[\leadsto \frac{1}{\color{blue}{\frac{a \cdot 3}{\sqrt{b \cdot b - \left(a \cdot 3\right) \cdot c} - b}}}\]
Taylor expanded around -inf 10.9
\[\leadsto \frac{1}{\frac{a \cdot 3}{\color{blue}{\frac{3}{2} \cdot \frac{c \cdot a}{b} - 2 \cdot b}}}\]
Applied simplify5.0
\[\leadsto \color{blue}{\frac{\frac{c}{b} \cdot \left(a \cdot \frac{3}{2}\right) - 2 \cdot b}{3 \cdot a}}\]
if -1.5438823640975016e+89 < b < 5.4962934305345145e-130
Initial program 11.8
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
- Using strategy
rm Applied clear-num11.9
\[\leadsto \color{blue}{\frac{1}{\frac{3 \cdot a}{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}}}\]
Applied simplify11.9
\[\leadsto \frac{1}{\color{blue}{\frac{a \cdot 3}{\sqrt{b \cdot b - \left(a \cdot 3\right) \cdot c} - b}}}\]
if 5.4962934305345145e-130 < b
Initial program 50.2
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Taylor expanded around inf 22.7
\[\leadsto \frac{\color{blue}{\frac{-3}{2} \cdot \frac{c \cdot a}{b}}}{3 \cdot a}\]
Applied simplify11.6
\[\leadsto \color{blue}{1 \cdot \left(\frac{c}{b} \cdot \frac{\frac{-3}{2}}{3}\right)}\]
- Recombined 3 regimes into one program.
Applied simplify10.6
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b \le -1.5438823640975016 \cdot 10^{+89}:\\
\;\;\;\;\frac{\left(\frac{3}{2} \cdot a\right) \cdot \frac{c}{b} - 2 \cdot b}{3 \cdot a}\\
\mathbf{if}\;b \le 5.4962934305345145 \cdot 10^{-130}:\\
\;\;\;\;\frac{1}{\frac{3 \cdot a}{\sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c} - b}}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{-3}{2}}{3} \cdot \frac{c}{b}\\
\end{array}}\]