- Split input into 2 regimes
if b < 7491.95990052576326 or 37187.792086002606 < b < 107697.61652900142
Initial program 21.1
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Simplified21.1
\[\leadsto \color{blue}{\frac{\sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c} - b}{3 \cdot a}}\]
- Using strategy
rm Applied flip--21.1
\[\leadsto \frac{\color{blue}{\frac{\sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c} \cdot \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c} - b \cdot b}{\sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c} + b}}}{3 \cdot a}\]
Simplified20.1
\[\leadsto \frac{\frac{\color{blue}{\left(b \cdot b - \left(3 \cdot a\right) \cdot c\right) - {b}^{2}}}{\sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c} + b}}{3 \cdot a}\]
if 7491.95990052576326 < b < 37187.792086002606 or 107697.61652900142 < b
Initial program 39.0
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}\]
Simplified39.0
\[\leadsto \color{blue}{\frac{\sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c} - b}{3 \cdot a}}\]
Taylor expanded around inf 14.4
\[\leadsto \frac{\color{blue}{-1.5 \cdot \frac{a \cdot c}{b}}}{3 \cdot a}\]
- Using strategy
rm Applied associate-*r/14.4
\[\leadsto \frac{\color{blue}{\frac{-1.5 \cdot \left(a \cdot c\right)}{b}}}{3 \cdot a}\]
Applied associate-/l/14.4
\[\leadsto \color{blue}{\frac{-1.5 \cdot \left(a \cdot c\right)}{\left(3 \cdot a\right) \cdot b}}\]
- Using strategy
rm Applied associate-/l*14.4
\[\leadsto \color{blue}{\frac{-1.5}{\frac{\left(3 \cdot a\right) \cdot b}{a \cdot c}}}\]
Simplified14.4
\[\leadsto \frac{-1.5}{\color{blue}{b \cdot \frac{3 \cdot a}{a \cdot c}}}\]
- Recombined 2 regimes into one program.
Final simplification17.5
\[\leadsto \begin{array}{l}
\mathbf{if}\;b \le 7491.95990052576326 \lor \neg \left(b \le 37187.792086002606\right) \land b \le 107697.61652900142:\\
\;\;\;\;\frac{\frac{\left(b \cdot b - \left(3 \cdot a\right) \cdot c\right) - {b}^{2}}{\sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c} + b}}{3 \cdot a}\\
\mathbf{else}:\\
\;\;\;\;\frac{-1.5}{b \cdot \frac{3 \cdot a}{a \cdot c}}\\
\end{array}\]