- Split input into 2 regimes
if (* V l) < 0.0
Initial program 21.6
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied *-un-lft-identity21.6
\[\leadsto c0 \cdot \sqrt{\frac{\color{blue}{1 \cdot A}}{V \cdot \ell}}\]
Applied times-frac20.3
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{1}{V} \cdot \frac{A}{\ell}}}\]
if 0.0 < (* V l)
Initial program 15.2
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
Taylor expanded around -inf 15.2
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{A}{\ell \cdot V}}}\]
- Using strategy
rm Applied sqrt-div7.0
\[\leadsto c0 \cdot \color{blue}{\frac{\sqrt{A}}{\sqrt{\ell \cdot V}}}\]
- Recombined 2 regimes into one program.
Final simplification14.4
\[\leadsto \begin{array}{l}
\mathbf{if}\;V \cdot \ell \le 0.0:\\
\;\;\;\;c0 \cdot \sqrt{\frac{A}{\ell} \cdot \frac{1}{V}}\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{A}}{\sqrt{V \cdot \ell}} \cdot c0\\
\end{array}\]