Initial program 32.6
\[\begin{array}{l}
\mathbf{if}\;b \ge 0:\\
\;\;\;\;\frac{2 \cdot c}{\left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}\\
\mathbf{else}:\\
\;\;\;\;\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\\
\end{array}\]
Taylor expanded around inf 6.1
\[\leadsto \begin{array}{l}
\mathbf{if}\;b \ge 0:\\
\;\;\;\;\frac{2 \cdot c}{\color{blue}{2 \cdot \frac{c \cdot a}{b} - 2 \cdot b}}\\
\mathbf{else}:\\
\;\;\;\;\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\\
\end{array}\]
Applied simplify1.7
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b \ge 0:\\
\;\;\;\;\frac{c}{c \cdot \frac{a}{b} - b}\\
\mathbf{else}:\\
\;\;\;\;\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{a + a}\\
\end{array}}\]
- Using strategy
rm Applied add-cube-cbrt1.7
\[\leadsto \begin{array}{l}
\mathbf{if}\;b \ge 0:\\
\;\;\;\;\frac{c}{\color{blue}{\left(\sqrt[3]{c \cdot \frac{a}{b}} \cdot \sqrt[3]{c \cdot \frac{a}{b}}\right) \cdot \sqrt[3]{c \cdot \frac{a}{b}}} - b}\\
\mathbf{else}:\\
\;\;\;\;\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{a + a}\\
\end{array}\]
- Using strategy
rm Applied add-cube-cbrt1.7
\[\leadsto \begin{array}{l}
\mathbf{if}\;b \ge 0:\\
\;\;\;\;\frac{c}{\left(\sqrt[3]{c \cdot \frac{a}{b}} \cdot \sqrt[3]{c \cdot \frac{a}{b}}\right) \cdot \color{blue}{\left(\left(\sqrt[3]{\sqrt[3]{c \cdot \frac{a}{b}}} \cdot \sqrt[3]{\sqrt[3]{c \cdot \frac{a}{b}}}\right) \cdot \sqrt[3]{\sqrt[3]{c \cdot \frac{a}{b}}}\right)} - b}\\
\mathbf{else}:\\
\;\;\;\;\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{a + a}\\
\end{array}\]