Average Error: 19.2 → 5.0
Time: 18.0s
Precision: binary64
Cost: 20556
\[ \begin{array}{c}[V, l] = \mathsf{sort}([V, l])\\ \end{array} \]
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}} \]
\[\begin{array}{l} t_0 := \sqrt{-A}\\ t_1 := \frac{\frac{t_0}{\sqrt{-V}} \cdot c0}{\sqrt{\ell}}\\ \mathbf{if}\;V \cdot \ell \leq -2 \cdot 10^{+203}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;V \cdot \ell \leq -2 \cdot 10^{-253}:\\ \;\;\;\;\frac{c0}{\frac{\sqrt{V \cdot \left(-\ell\right)}}{t_0}}\\ \mathbf{elif}\;V \cdot \ell \leq 0:\\ \;\;\;\;t_1\\ \mathbf{elif}\;V \cdot \ell \leq 4 \cdot 10^{+282}:\\ \;\;\;\;c0 \cdot \left({\left(V \cdot \ell\right)}^{-0.5} \cdot \sqrt{A}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{c0}{{\left(\frac{\frac{A}{\ell}}{V}\right)}^{-0.5}}\\ \end{array} \]
(FPCore (c0 A V l) :precision binary64 (* c0 (sqrt (/ A (* V l)))))
(FPCore (c0 A V l)
 :precision binary64
 (let* ((t_0 (sqrt (- A))) (t_1 (/ (* (/ t_0 (sqrt (- V))) c0) (sqrt l))))
   (if (<= (* V l) -2e+203)
     t_1
     (if (<= (* V l) -2e-253)
       (/ c0 (/ (sqrt (* V (- l))) t_0))
       (if (<= (* V l) 0.0)
         t_1
         (if (<= (* V l) 4e+282)
           (* c0 (* (pow (* V l) -0.5) (sqrt A)))
           (/ c0 (pow (/ (/ A l) V) -0.5))))))))
double code(double c0, double A, double V, double l) {
	return c0 * sqrt((A / (V * l)));
}
double code(double c0, double A, double V, double l) {
	double t_0 = sqrt(-A);
	double t_1 = ((t_0 / sqrt(-V)) * c0) / sqrt(l);
	double tmp;
	if ((V * l) <= -2e+203) {
		tmp = t_1;
	} else if ((V * l) <= -2e-253) {
		tmp = c0 / (sqrt((V * -l)) / t_0);
	} else if ((V * l) <= 0.0) {
		tmp = t_1;
	} else if ((V * l) <= 4e+282) {
		tmp = c0 * (pow((V * l), -0.5) * sqrt(A));
	} else {
		tmp = c0 / pow(((A / l) / V), -0.5);
	}
	return tmp;
}
real(8) function code(c0, a, v, l)
    real(8), intent (in) :: c0
    real(8), intent (in) :: a
    real(8), intent (in) :: v
    real(8), intent (in) :: l
    code = c0 * sqrt((a / (v * l)))
end function
real(8) function code(c0, a, v, l)
    real(8), intent (in) :: c0
    real(8), intent (in) :: a
    real(8), intent (in) :: v
    real(8), intent (in) :: l
    real(8) :: t_0
    real(8) :: t_1
    real(8) :: tmp
    t_0 = sqrt(-a)
    t_1 = ((t_0 / sqrt(-v)) * c0) / sqrt(l)
    if ((v * l) <= (-2d+203)) then
        tmp = t_1
    else if ((v * l) <= (-2d-253)) then
        tmp = c0 / (sqrt((v * -l)) / t_0)
    else if ((v * l) <= 0.0d0) then
        tmp = t_1
    else if ((v * l) <= 4d+282) then
        tmp = c0 * (((v * l) ** (-0.5d0)) * sqrt(a))
    else
        tmp = c0 / (((a / l) / v) ** (-0.5d0))
    end if
    code = tmp
end function
public static double code(double c0, double A, double V, double l) {
	return c0 * Math.sqrt((A / (V * l)));
}
public static double code(double c0, double A, double V, double l) {
	double t_0 = Math.sqrt(-A);
	double t_1 = ((t_0 / Math.sqrt(-V)) * c0) / Math.sqrt(l);
	double tmp;
	if ((V * l) <= -2e+203) {
		tmp = t_1;
	} else if ((V * l) <= -2e-253) {
		tmp = c0 / (Math.sqrt((V * -l)) / t_0);
	} else if ((V * l) <= 0.0) {
		tmp = t_1;
	} else if ((V * l) <= 4e+282) {
		tmp = c0 * (Math.pow((V * l), -0.5) * Math.sqrt(A));
	} else {
		tmp = c0 / Math.pow(((A / l) / V), -0.5);
	}
	return tmp;
}
def code(c0, A, V, l):
	return c0 * math.sqrt((A / (V * l)))
def code(c0, A, V, l):
	t_0 = math.sqrt(-A)
	t_1 = ((t_0 / math.sqrt(-V)) * c0) / math.sqrt(l)
	tmp = 0
	if (V * l) <= -2e+203:
		tmp = t_1
	elif (V * l) <= -2e-253:
		tmp = c0 / (math.sqrt((V * -l)) / t_0)
	elif (V * l) <= 0.0:
		tmp = t_1
	elif (V * l) <= 4e+282:
		tmp = c0 * (math.pow((V * l), -0.5) * math.sqrt(A))
	else:
		tmp = c0 / math.pow(((A / l) / V), -0.5)
	return tmp
function code(c0, A, V, l)
	return Float64(c0 * sqrt(Float64(A / Float64(V * l))))
end
function code(c0, A, V, l)
	t_0 = sqrt(Float64(-A))
	t_1 = Float64(Float64(Float64(t_0 / sqrt(Float64(-V))) * c0) / sqrt(l))
	tmp = 0.0
	if (Float64(V * l) <= -2e+203)
		tmp = t_1;
	elseif (Float64(V * l) <= -2e-253)
		tmp = Float64(c0 / Float64(sqrt(Float64(V * Float64(-l))) / t_0));
	elseif (Float64(V * l) <= 0.0)
		tmp = t_1;
	elseif (Float64(V * l) <= 4e+282)
		tmp = Float64(c0 * Float64((Float64(V * l) ^ -0.5) * sqrt(A)));
	else
		tmp = Float64(c0 / (Float64(Float64(A / l) / V) ^ -0.5));
	end
	return tmp
end
function tmp = code(c0, A, V, l)
	tmp = c0 * sqrt((A / (V * l)));
end
function tmp_2 = code(c0, A, V, l)
	t_0 = sqrt(-A);
	t_1 = ((t_0 / sqrt(-V)) * c0) / sqrt(l);
	tmp = 0.0;
	if ((V * l) <= -2e+203)
		tmp = t_1;
	elseif ((V * l) <= -2e-253)
		tmp = c0 / (sqrt((V * -l)) / t_0);
	elseif ((V * l) <= 0.0)
		tmp = t_1;
	elseif ((V * l) <= 4e+282)
		tmp = c0 * (((V * l) ^ -0.5) * sqrt(A));
	else
		tmp = c0 / (((A / l) / V) ^ -0.5);
	end
	tmp_2 = tmp;
end
code[c0_, A_, V_, l_] := N[(c0 * N[Sqrt[N[(A / N[(V * l), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
code[c0_, A_, V_, l_] := Block[{t$95$0 = N[Sqrt[(-A)], $MachinePrecision]}, Block[{t$95$1 = N[(N[(N[(t$95$0 / N[Sqrt[(-V)], $MachinePrecision]), $MachinePrecision] * c0), $MachinePrecision] / N[Sqrt[l], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(V * l), $MachinePrecision], -2e+203], t$95$1, If[LessEqual[N[(V * l), $MachinePrecision], -2e-253], N[(c0 / N[(N[Sqrt[N[(V * (-l)), $MachinePrecision]], $MachinePrecision] / t$95$0), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(V * l), $MachinePrecision], 0.0], t$95$1, If[LessEqual[N[(V * l), $MachinePrecision], 4e+282], N[(c0 * N[(N[Power[N[(V * l), $MachinePrecision], -0.5], $MachinePrecision] * N[Sqrt[A], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c0 / N[Power[N[(N[(A / l), $MachinePrecision] / V), $MachinePrecision], -0.5], $MachinePrecision]), $MachinePrecision]]]]]]]
c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}
\begin{array}{l}
t_0 := \sqrt{-A}\\
t_1 := \frac{\frac{t_0}{\sqrt{-V}} \cdot c0}{\sqrt{\ell}}\\
\mathbf{if}\;V \cdot \ell \leq -2 \cdot 10^{+203}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;V \cdot \ell \leq -2 \cdot 10^{-253}:\\
\;\;\;\;\frac{c0}{\frac{\sqrt{V \cdot \left(-\ell\right)}}{t_0}}\\

\mathbf{elif}\;V \cdot \ell \leq 0:\\
\;\;\;\;t_1\\

\mathbf{elif}\;V \cdot \ell \leq 4 \cdot 10^{+282}:\\
\;\;\;\;c0 \cdot \left({\left(V \cdot \ell\right)}^{-0.5} \cdot \sqrt{A}\right)\\

\mathbf{else}:\\
\;\;\;\;\frac{c0}{{\left(\frac{\frac{A}{\ell}}{V}\right)}^{-0.5}}\\


\end{array}

Error

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Split input into 4 regimes
  2. if (*.f64 V l) < -2e203 or -2.0000000000000001e-253 < (*.f64 V l) < 0.0

    1. Initial program 42.2

      \[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}} \]
    2. Applied egg-rr64.0

      \[\leadsto c0 \cdot \color{blue}{\frac{\sqrt{A}}{\sqrt{V \cdot \ell}}} \]
    3. Applied egg-rr59.4

      \[\leadsto \color{blue}{\frac{\frac{\sqrt{A} \cdot c0}{\sqrt{V}}}{\sqrt{\ell}}} \]
    4. Taylor expanded in c0 around 0 18.5

      \[\leadsto \frac{\color{blue}{\sqrt{\frac{A}{V}} \cdot c0}}{\sqrt{\ell}} \]
    5. Applied egg-rr12.3

      \[\leadsto \frac{\color{blue}{\frac{\sqrt{-A}}{\sqrt{-V}}} \cdot c0}{\sqrt{\ell}} \]

    if -2e203 < (*.f64 V l) < -2.0000000000000001e-253

    1. Initial program 8.2

      \[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}} \]
    2. Applied egg-rr64.0

      \[\leadsto c0 \cdot \color{blue}{\frac{\sqrt{A}}{\sqrt{V \cdot \ell}}} \]
    3. Applied egg-rr8.0

      \[\leadsto \color{blue}{\frac{c0}{\sqrt{\frac{V \cdot \ell}{A}}}} \]
    4. Applied egg-rr0.4

      \[\leadsto \frac{c0}{\color{blue}{\frac{\sqrt{V \cdot \left(-\ell\right)}}{\sqrt{-A}}}} \]

    if 0.0 < (*.f64 V l) < 4.00000000000000013e282

    1. Initial program 10.3

      \[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}} \]
    2. Applied egg-rr10.7

      \[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{1}{V \cdot \ell} \cdot A}} \]
    3. Applied egg-rr0.7

      \[\leadsto c0 \cdot \color{blue}{\left({\left(V \cdot \ell\right)}^{-0.5} \cdot \sqrt{A}\right)} \]

    if 4.00000000000000013e282 < (*.f64 V l)

    1. Initial program 37.6

      \[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}} \]
    2. Applied egg-rr35.0

      \[\leadsto c0 \cdot \color{blue}{\frac{\sqrt{A}}{\sqrt{V \cdot \ell}}} \]
    3. Applied egg-rr37.7

      \[\leadsto \color{blue}{\frac{c0}{\sqrt{\frac{V \cdot \ell}{A}}}} \]
    4. Applied egg-rr22.9

      \[\leadsto \frac{c0}{\color{blue}{{\left(\frac{\frac{A}{\ell}}{V}\right)}^{-0.5}}} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification5.0

    \[\leadsto \begin{array}{l} \mathbf{if}\;V \cdot \ell \leq -2 \cdot 10^{+203}:\\ \;\;\;\;\frac{\frac{\sqrt{-A}}{\sqrt{-V}} \cdot c0}{\sqrt{\ell}}\\ \mathbf{elif}\;V \cdot \ell \leq -2 \cdot 10^{-253}:\\ \;\;\;\;\frac{c0}{\frac{\sqrt{V \cdot \left(-\ell\right)}}{\sqrt{-A}}}\\ \mathbf{elif}\;V \cdot \ell \leq 0:\\ \;\;\;\;\frac{\frac{\sqrt{-A}}{\sqrt{-V}} \cdot c0}{\sqrt{\ell}}\\ \mathbf{elif}\;V \cdot \ell \leq 4 \cdot 10^{+282}:\\ \;\;\;\;c0 \cdot \left({\left(V \cdot \ell\right)}^{-0.5} \cdot \sqrt{A}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{c0}{{\left(\frac{\frac{A}{\ell}}{V}\right)}^{-0.5}}\\ \end{array} \]

Alternatives

Alternative 1
Error8.4
Cost14352
\[\begin{array}{l} t_0 := \sqrt{\frac{A}{V}}\\ \mathbf{if}\;V \cdot \ell \leq -2 \cdot 10^{+111}:\\ \;\;\;\;c0 \cdot \frac{t_0}{\sqrt{\ell}}\\ \mathbf{elif}\;V \cdot \ell \leq -2 \cdot 10^{-211}:\\ \;\;\;\;\frac{c0}{\sqrt{\frac{V \cdot \ell}{A}}}\\ \mathbf{elif}\;V \cdot \ell \leq 0:\\ \;\;\;\;c0 \cdot \left({\ell}^{-0.5} \cdot t_0\right)\\ \mathbf{elif}\;V \cdot \ell \leq 4 \cdot 10^{+282}:\\ \;\;\;\;c0 \cdot \left({\left(V \cdot \ell\right)}^{-0.5} \cdot \sqrt{A}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{c0}{{\left(\frac{\frac{A}{\ell}}{V}\right)}^{-0.5}}\\ \end{array} \]
Alternative 2
Error5.8
Cost14352
\[\begin{array}{l} \mathbf{if}\;V \cdot \ell \leq -\infty:\\ \;\;\;\;\frac{c0}{\sqrt{\ell} \cdot \sqrt{\frac{V}{A}}}\\ \mathbf{elif}\;V \cdot \ell \leq -1 \cdot 10^{-279}:\\ \;\;\;\;\frac{c0}{\frac{\sqrt{V \cdot \left(-\ell\right)}}{\sqrt{-A}}}\\ \mathbf{elif}\;V \cdot \ell \leq 0:\\ \;\;\;\;c0 \cdot \left({\ell}^{-0.5} \cdot \sqrt{\frac{A}{V}}\right)\\ \mathbf{elif}\;V \cdot \ell \leq 4 \cdot 10^{+282}:\\ \;\;\;\;c0 \cdot \left({\left(V \cdot \ell\right)}^{-0.5} \cdot \sqrt{A}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{c0}{{\left(\frac{\frac{A}{\ell}}{V}\right)}^{-0.5}}\\ \end{array} \]
Alternative 3
Error5.7
Cost14352
\[\begin{array}{l} \mathbf{if}\;V \cdot \ell \leq -\infty:\\ \;\;\;\;c0 \cdot \frac{\sqrt{\frac{-A}{\ell}}}{\sqrt{-V}}\\ \mathbf{elif}\;V \cdot \ell \leq -1 \cdot 10^{-279}:\\ \;\;\;\;\frac{c0}{\frac{\sqrt{V \cdot \left(-\ell\right)}}{\sqrt{-A}}}\\ \mathbf{elif}\;V \cdot \ell \leq 0:\\ \;\;\;\;c0 \cdot \left({\ell}^{-0.5} \cdot \sqrt{\frac{A}{V}}\right)\\ \mathbf{elif}\;V \cdot \ell \leq 4 \cdot 10^{+282}:\\ \;\;\;\;c0 \cdot \left({\left(V \cdot \ell\right)}^{-0.5} \cdot \sqrt{A}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{c0}{{\left(\frac{\frac{A}{\ell}}{V}\right)}^{-0.5}}\\ \end{array} \]
Alternative 4
Error11.0
Cost14288
\[\begin{array}{l} t_0 := \frac{c0}{{\left(\frac{\frac{A}{\ell}}{V}\right)}^{-0.5}}\\ \mathbf{if}\;V \cdot \ell \leq -2 \cdot 10^{+203}:\\ \;\;\;\;t_0\\ \mathbf{elif}\;V \cdot \ell \leq -2 \cdot 10^{-182}:\\ \;\;\;\;\frac{c0}{\sqrt{\frac{V \cdot \ell}{A}}}\\ \mathbf{elif}\;V \cdot \ell \leq 5 \cdot 10^{-302}:\\ \;\;\;\;\frac{c0}{\sqrt{\frac{V}{\frac{A}{\ell}}}}\\ \mathbf{elif}\;V \cdot \ell \leq 4 \cdot 10^{+282}:\\ \;\;\;\;\frac{c0}{\frac{\sqrt{V \cdot \ell}}{\sqrt{A}}}\\ \mathbf{else}:\\ \;\;\;\;t_0\\ \end{array} \]
Alternative 5
Error8.4
Cost14288
\[\begin{array}{l} t_0 := \frac{c0}{\sqrt{\ell} \cdot \sqrt{\frac{V}{A}}}\\ \mathbf{if}\;V \cdot \ell \leq -2 \cdot 10^{+125}:\\ \;\;\;\;t_0\\ \mathbf{elif}\;V \cdot \ell \leq -2 \cdot 10^{-211}:\\ \;\;\;\;\frac{c0}{\sqrt{\frac{V \cdot \ell}{A}}}\\ \mathbf{elif}\;V \cdot \ell \leq 0:\\ \;\;\;\;t_0\\ \mathbf{elif}\;V \cdot \ell \leq 4 \cdot 10^{+282}:\\ \;\;\;\;\frac{c0}{\frac{\sqrt{V \cdot \ell}}{\sqrt{A}}}\\ \mathbf{else}:\\ \;\;\;\;\frac{c0}{{\left(\frac{\frac{A}{\ell}}{V}\right)}^{-0.5}}\\ \end{array} \]
Alternative 6
Error8.4
Cost14288
\[\begin{array}{l} \mathbf{if}\;V \cdot \ell \leq -2 \cdot 10^{+111}:\\ \;\;\;\;c0 \cdot \frac{\sqrt{\frac{A}{V}}}{\sqrt{\ell}}\\ \mathbf{elif}\;V \cdot \ell \leq -2 \cdot 10^{-211}:\\ \;\;\;\;\frac{c0}{\sqrt{\frac{V \cdot \ell}{A}}}\\ \mathbf{elif}\;V \cdot \ell \leq 0:\\ \;\;\;\;\frac{c0}{\sqrt{\ell} \cdot \sqrt{\frac{V}{A}}}\\ \mathbf{elif}\;V \cdot \ell \leq 4 \cdot 10^{+282}:\\ \;\;\;\;\frac{c0}{\frac{\sqrt{V \cdot \ell}}{\sqrt{A}}}\\ \mathbf{else}:\\ \;\;\;\;\frac{c0}{{\left(\frac{\frac{A}{\ell}}{V}\right)}^{-0.5}}\\ \end{array} \]
Alternative 7
Error8.4
Cost14288
\[\begin{array}{l} \mathbf{if}\;V \cdot \ell \leq -2 \cdot 10^{+111}:\\ \;\;\;\;c0 \cdot \frac{\sqrt{\frac{A}{V}}}{\sqrt{\ell}}\\ \mathbf{elif}\;V \cdot \ell \leq -2 \cdot 10^{-211}:\\ \;\;\;\;\frac{c0}{\sqrt{\frac{V \cdot \ell}{A}}}\\ \mathbf{elif}\;V \cdot \ell \leq 0:\\ \;\;\;\;\frac{c0}{\sqrt{\ell} \cdot \sqrt{\frac{V}{A}}}\\ \mathbf{elif}\;V \cdot \ell \leq 4 \cdot 10^{+282}:\\ \;\;\;\;c0 \cdot \frac{\sqrt{A}}{\sqrt{V \cdot \ell}}\\ \mathbf{else}:\\ \;\;\;\;\frac{c0}{{\left(\frac{\frac{A}{\ell}}{V}\right)}^{-0.5}}\\ \end{array} \]
Alternative 8
Error8.4
Cost14288
\[\begin{array}{l} t_0 := \sqrt{\frac{A}{V}}\\ \mathbf{if}\;V \cdot \ell \leq -2 \cdot 10^{+111}:\\ \;\;\;\;c0 \cdot \frac{t_0}{\sqrt{\ell}}\\ \mathbf{elif}\;V \cdot \ell \leq -2 \cdot 10^{-211}:\\ \;\;\;\;\frac{c0}{\sqrt{\frac{V \cdot \ell}{A}}}\\ \mathbf{elif}\;V \cdot \ell \leq 0:\\ \;\;\;\;c0 \cdot \left({\ell}^{-0.5} \cdot t_0\right)\\ \mathbf{elif}\;V \cdot \ell \leq 4 \cdot 10^{+282}:\\ \;\;\;\;c0 \cdot \frac{\sqrt{A}}{\sqrt{V \cdot \ell}}\\ \mathbf{else}:\\ \;\;\;\;\frac{c0}{{\left(\frac{\frac{A}{\ell}}{V}\right)}^{-0.5}}\\ \end{array} \]
Alternative 9
Error14.6
Cost7888
\[\begin{array}{l} t_0 := \frac{c0}{\sqrt{\frac{V \cdot \ell}{A}}}\\ t_1 := c0 \cdot \sqrt{\frac{\frac{A}{\ell}}{V}}\\ \mathbf{if}\;V \cdot \ell \leq -\infty:\\ \;\;\;\;t_1\\ \mathbf{elif}\;V \cdot \ell \leq -2 \cdot 10^{-182}:\\ \;\;\;\;t_0\\ \mathbf{elif}\;V \cdot \ell \leq 0:\\ \;\;\;\;\frac{c0}{\sqrt{\frac{V}{\frac{A}{\ell}}}}\\ \mathbf{elif}\;V \cdot \ell \leq 10^{+211}:\\ \;\;\;\;t_0\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 10
Error14.6
Cost7888
\[\begin{array}{l} t_0 := \frac{c0}{\sqrt{\frac{V \cdot \ell}{A}}}\\ t_1 := \frac{\frac{A}{\ell}}{V}\\ \mathbf{if}\;V \cdot \ell \leq -2 \cdot 10^{+203}:\\ \;\;\;\;\frac{c0}{{t_1}^{-0.5}}\\ \mathbf{elif}\;V \cdot \ell \leq -2 \cdot 10^{-182}:\\ \;\;\;\;t_0\\ \mathbf{elif}\;V \cdot \ell \leq 0:\\ \;\;\;\;\frac{c0}{\sqrt{\frac{V}{\frac{A}{\ell}}}}\\ \mathbf{elif}\;V \cdot \ell \leq 10^{+211}:\\ \;\;\;\;t_0\\ \mathbf{else}:\\ \;\;\;\;c0 \cdot \sqrt{t_1}\\ \end{array} \]
Alternative 11
Error19.3
Cost6980
\[\begin{array}{l} \mathbf{if}\;\ell \leq 10^{-248}:\\ \;\;\;\;\frac{c0}{\sqrt{\frac{\ell}{\frac{A}{V}}}}\\ \mathbf{else}:\\ \;\;\;\;\frac{c0}{\sqrt{\frac{V}{\frac{A}{\ell}}}}\\ \end{array} \]
Alternative 12
Error19.5
Cost6848
\[\frac{c0}{\sqrt{V \cdot \frac{\ell}{A}}} \]

Error

Reproduce

herbie shell --seed 2022317 
(FPCore (c0 A V l)
  :name "Henrywood and Agarwal, Equation (3)"
  :precision binary64
  (* c0 (sqrt (/ A (* V l)))))