- Split input into 3 regimes
if b < -1.3372661925740899e+154
Initial program 60.8
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Taylor expanded around -inf 9.9
\[\leadsto \frac{\color{blue}{\frac{3}{2} \cdot \frac{a \cdot c}{b} - 2 \cdot b}}{3 \cdot a}\]
if -1.3372661925740899e+154 < b < 1.4624567676001702e-80
Initial program 11.7
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Initial simplification11.8
\[\leadsto \frac{\sqrt{-3 \cdot \left(c \cdot a\right) + b \cdot b} - b}{3 \cdot a}\]
- Using strategy
rm Applied associate-*r*11.8
\[\leadsto \frac{\sqrt{\color{blue}{\left(-3 \cdot c\right) \cdot a} + b \cdot b} - b}{3 \cdot a}\]
if 1.4624567676001702e-80 < b
Initial program 52.2
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Taylor expanded around inf 20.7
\[\leadsto \frac{\color{blue}{\frac{-3}{2} \cdot \frac{a \cdot c}{b}}}{3 \cdot a}\]
- Recombined 3 regimes into one program.
Final simplification15.2
\[\leadsto \begin{array}{l}
\mathbf{if}\;b \le -1.3372661925740899 \cdot 10^{+154}:\\
\;\;\;\;\frac{\frac{3}{2} \cdot \frac{a \cdot c}{b} - 2 \cdot b}{a \cdot 3}\\
\mathbf{elif}\;b \le 1.4624567676001702 \cdot 10^{-80}:\\
\;\;\;\;\frac{\sqrt{b \cdot b + a \cdot \left(c \cdot -3\right)} - b}{a \cdot 3}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{-3}{2} \cdot \frac{a \cdot c}{b}}{a \cdot 3}\\
\end{array}\]