- Split input into 2 regimes
if b < 600.383385032873207 or 17333.562222365857 < b < 61883.9862155970695
Initial program 19.0
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Simplified19.0
\[\leadsto \color{blue}{\frac{\sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)} - b}{a \cdot 2}}\]
- Using strategy
rm Applied flip--19.0
\[\leadsto \frac{\color{blue}{\frac{\sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)} \cdot \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)} - b \cdot b}{\sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)} + b}}}{a \cdot 2}\]
Simplified18.1
\[\leadsto \frac{\frac{\color{blue}{b \cdot b - \left(b \cdot b + 4 \cdot \left(a \cdot c\right)\right)}}{\sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)} + b}}{a \cdot 2}\]
Simplified18.1
\[\leadsto \frac{\frac{b \cdot b - \left(b \cdot b + 4 \cdot \left(a \cdot c\right)\right)}{\color{blue}{b + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}{a \cdot 2}\]
if 600.383385032873207 < b < 17333.562222365857 or 61883.9862155970695 < b
Initial program 35.9
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Simplified35.9
\[\leadsto \color{blue}{\frac{\sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)} - b}{a \cdot 2}}\]
Taylor expanded around inf 16.6
\[\leadsto \color{blue}{-1 \cdot \frac{c}{b}}\]
- Recombined 2 regimes into one program.
Final simplification17.3
\[\leadsto \begin{array}{l}
\mathbf{if}\;b \le 600.383385032873207 \lor \neg \left(b \le 17333.562222365857\right) \land b \le 61883.9862155970695:\\
\;\;\;\;\frac{\frac{b \cdot b - \left(b \cdot b + 4 \cdot \left(a \cdot c\right)\right)}{b + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}{a \cdot 2}\\
\mathbf{else}:\\
\;\;\;\;-1 \cdot \frac{c}{b}\\
\end{array}\]