- Split input into 2 regimes
if b < 1.3370483339861573e+141
Initial program 27.2
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Simplified27.3
\[\leadsto \color{blue}{\frac{\sqrt{(-3 \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}{3 \cdot a}}\]
- Using strategy
rm Applied *-un-lft-identity27.3
\[\leadsto \frac{\color{blue}{1 \cdot \left(\sqrt{(-3 \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b\right)}}{3 \cdot a}\]
Applied times-frac27.3
\[\leadsto \color{blue}{\frac{1}{3} \cdot \frac{\sqrt{(-3 \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}{a}}\]
Simplified27.3
\[\leadsto \color{blue}{\frac{1}{3}} \cdot \frac{\sqrt{(-3 \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}{a}\]
if 1.3370483339861573e+141 < b
Initial program 61.1
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Simplified61.1
\[\leadsto \color{blue}{\frac{\sqrt{(-3 \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}{3 \cdot a}}\]
Taylor expanded around 0 39.9
\[\leadsto \color{blue}{0}\]
- Recombined 2 regimes into one program.
Final simplification29.7
\[\leadsto \begin{array}{l}
\mathbf{if}\;b \le 1.3370483339861573 \cdot 10^{+141}:\\
\;\;\;\;\frac{\sqrt{(-3 \cdot \left(c \cdot a\right) + \left(b \cdot b\right))_*} - b}{a} \cdot \frac{1}{3}\\
\mathbf{else}:\\
\;\;\;\;0\\
\end{array}\]