- Split input into 3 regimes
if (/ h l) < -inf.0
Initial program 61.7
\[w0 \cdot \sqrt{1 - {\left(\frac{M \cdot D}{2 \cdot d}\right)}^{2} \cdot \frac{h}{\ell}}\]
- Using strategy
rm Applied associate-*r/26.2
\[\leadsto w0 \cdot \sqrt{1 - \color{blue}{\frac{{\left(\frac{M \cdot D}{2 \cdot d}\right)}^{2} \cdot h}{\ell}}}\]
- Using strategy
rm Applied associate-/l*25.9
\[\leadsto w0 \cdot \sqrt{1 - \frac{{\color{blue}{\left(\frac{M}{\frac{2 \cdot d}{D}}\right)}}^{2} \cdot h}{\ell}}\]
if -inf.0 < (/ h l) < -5.9288345222629984e-251
Initial program 13.4
\[w0 \cdot \sqrt{1 - {\left(\frac{M \cdot D}{2 \cdot d}\right)}^{2} \cdot \frac{h}{\ell}}\]
- Using strategy
rm Applied unpow213.4
\[\leadsto w0 \cdot \sqrt{1 - \color{blue}{\left(\frac{M \cdot D}{2 \cdot d} \cdot \frac{M \cdot D}{2 \cdot d}\right)} \cdot \frac{h}{\ell}}\]
Applied associate-*l*11.8
\[\leadsto w0 \cdot \sqrt{1 - \color{blue}{\frac{M \cdot D}{2 \cdot d} \cdot \left(\frac{M \cdot D}{2 \cdot d} \cdot \frac{h}{\ell}\right)}}\]
if -5.9288345222629984e-251 < (/ h l)
Initial program 7.9
\[w0 \cdot \sqrt{1 - {\left(\frac{M \cdot D}{2 \cdot d}\right)}^{2} \cdot \frac{h}{\ell}}\]
- Using strategy
rm Applied associate-*r/5.1
\[\leadsto w0 \cdot \sqrt{1 - \color{blue}{\frac{{\left(\frac{M \cdot D}{2 \cdot d}\right)}^{2} \cdot h}{\ell}}}\]
- Using strategy
rm Applied unpow25.1
\[\leadsto w0 \cdot \sqrt{1 - \frac{\color{blue}{\left(\frac{M \cdot D}{2 \cdot d} \cdot \frac{M \cdot D}{2 \cdot d}\right)} \cdot h}{\ell}}\]
Applied associate-*l*3.2
\[\leadsto w0 \cdot \sqrt{1 - \frac{\color{blue}{\frac{M \cdot D}{2 \cdot d} \cdot \left(\frac{M \cdot D}{2 \cdot d} \cdot h\right)}}{\ell}}\]
- Using strategy
rm Applied add-cube-cbrt3.2
\[\leadsto w0 \cdot \sqrt{1 - \color{blue}{\left(\sqrt[3]{\frac{\frac{M \cdot D}{2 \cdot d} \cdot \left(\frac{M \cdot D}{2 \cdot d} \cdot h\right)}{\ell}} \cdot \sqrt[3]{\frac{\frac{M \cdot D}{2 \cdot d} \cdot \left(\frac{M \cdot D}{2 \cdot d} \cdot h\right)}{\ell}}\right) \cdot \sqrt[3]{\frac{\frac{M \cdot D}{2 \cdot d} \cdot \left(\frac{M \cdot D}{2 \cdot d} \cdot h\right)}{\ell}}}}\]
- Recombined 3 regimes into one program.
Final simplification8.2
\[\leadsto \begin{array}{l}
\mathbf{if}\;\frac{h}{\ell} = -\infty:\\
\;\;\;\;w0 \cdot \sqrt{1 - \frac{h \cdot {\left(\frac{M}{\frac{d \cdot 2}{D}}\right)}^{2}}{\ell}}\\
\mathbf{elif}\;\frac{h}{\ell} \le -5.9288345222629984 \cdot 10^{-251}:\\
\;\;\;\;\sqrt{1 - \left(\frac{D \cdot M}{d \cdot 2} \cdot \frac{h}{\ell}\right) \cdot \frac{D \cdot M}{d \cdot 2}} \cdot w0\\
\mathbf{else}:\\
\;\;\;\;\sqrt{1 - \sqrt[3]{\frac{\left(\frac{D \cdot M}{d \cdot 2} \cdot h\right) \cdot \frac{D \cdot M}{d \cdot 2}}{\ell}} \cdot \left(\sqrt[3]{\frac{\left(\frac{D \cdot M}{d \cdot 2} \cdot h\right) \cdot \frac{D \cdot M}{d \cdot 2}}{\ell}} \cdot \sqrt[3]{\frac{\left(\frac{D \cdot M}{d \cdot 2} \cdot h\right) \cdot \frac{D \cdot M}{d \cdot 2}}{\ell}}\right)} \cdot w0\\
\end{array}\]