w0 \cdot \sqrt{1 - {\left(\frac{M \cdot D}{2 \cdot d}\right)}^{2} \cdot \frac{h}{\ell}}
\begin{array}{l}
t_0 := \frac{M \cdot D}{2 \cdot d}\\
w0 \cdot \sqrt{1 - \frac{t_0}{\sqrt[3]{\ell} \cdot \sqrt[3]{\ell}} \cdot \frac{t_0 \cdot h}{\sqrt[3]{\ell}}}
\end{array}
(FPCore (w0 M D h l d) :precision binary64 (* w0 (sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) 2.0) (/ h l))))))
(FPCore (w0 M D h l d)
:precision binary64
(let* ((t_0 (/ (* M D) (* 2.0 d))))
(*
w0
(sqrt (- 1.0 (* (/ t_0 (* (cbrt l) (cbrt l))) (/ (* t_0 h) (cbrt l))))))))double code(double w0, double M, double D, double h, double l, double d) {
return w0 * sqrt(1.0 - (pow(((M * D) / (2.0 * d)), 2.0) * (h / l)));
}
double code(double w0, double M, double D, double h, double l, double d) {
double t_0 = (M * D) / (2.0 * d);
return w0 * sqrt(1.0 - ((t_0 / (cbrt(l) * cbrt(l))) * ((t_0 * h) / cbrt(l))));
}



Bits error versus w0



Bits error versus M



Bits error versus D



Bits error versus h



Bits error versus l



Bits error versus d
Results
Initial program 12.7
Applied associate-*r/_binary649.2
Applied unpow2_binary649.2
Applied associate-*l*_binary647.9
Applied add-cube-cbrt_binary648.0
Applied times-frac_binary647.2
Final simplification7.2
herbie shell --seed 2022068
(FPCore (w0 M D h l d)
:name "Henrywood and Agarwal, Equation (9a)"
:precision binary64
(* w0 (sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) 2.0) (/ h l))))))