| Alternative 1 | |
|---|---|
| Error | 47.61% |
| Cost | 20688 |
(FPCore (n U t l Om U*) :precision binary64 (sqrt (* (* (* 2.0 n) U) (- (- t (* 2.0 (/ (* l l) Om))) (* (* n (pow (/ l Om) 2.0)) (- U U*))))))
(FPCore (n U t l Om U*)
:precision binary64
(let* ((t_1 (* n (pow (/ l Om) 2.0)))
(t_2 (cbrt (* U t)))
(t_3
(*
(* U (* n -2.0))
(+ (* t_1 (- U U*)) (- (* 2.0 (/ (* l l) Om)) t)))))
(if (<= t_3 5e-302)
(* (sqrt 2.0) (* (sqrt (pow t_2 2.0)) (sqrt (* n t_2))))
(if (<= t_3 2e+306)
(sqrt
(*
(* (* 2.0 n) U)
(+ (- t (* -2.0 (/ l (/ (- Om) l)))) (* t_1 (- U* U)))))
(*
(sqrt 2.0)
(*
l
(- (sqrt (* (* n U) (+ (* (/ U* Om) (/ n Om)) (/ -2.0 Om)))))))))))double code(double n, double U, double t, double l, double Om, double U_42_) {
return sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l * l) / Om))) - ((n * pow((l / Om), 2.0)) * (U - U_42_)))));
}
double code(double n, double U, double t, double l, double Om, double U_42_) {
double t_1 = n * pow((l / Om), 2.0);
double t_2 = cbrt((U * t));
double t_3 = (U * (n * -2.0)) * ((t_1 * (U - U_42_)) + ((2.0 * ((l * l) / Om)) - t));
double tmp;
if (t_3 <= 5e-302) {
tmp = sqrt(2.0) * (sqrt(pow(t_2, 2.0)) * sqrt((n * t_2)));
} else if (t_3 <= 2e+306) {
tmp = sqrt((((2.0 * n) * U) * ((t - (-2.0 * (l / (-Om / l)))) + (t_1 * (U_42_ - U)))));
} else {
tmp = sqrt(2.0) * (l * -sqrt(((n * U) * (((U_42_ / Om) * (n / Om)) + (-2.0 / Om)))));
}
return tmp;
}
public static double code(double n, double U, double t, double l, double Om, double U_42_) {
return Math.sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l * l) / Om))) - ((n * Math.pow((l / Om), 2.0)) * (U - U_42_)))));
}
public static double code(double n, double U, double t, double l, double Om, double U_42_) {
double t_1 = n * Math.pow((l / Om), 2.0);
double t_2 = Math.cbrt((U * t));
double t_3 = (U * (n * -2.0)) * ((t_1 * (U - U_42_)) + ((2.0 * ((l * l) / Om)) - t));
double tmp;
if (t_3 <= 5e-302) {
tmp = Math.sqrt(2.0) * (Math.sqrt(Math.pow(t_2, 2.0)) * Math.sqrt((n * t_2)));
} else if (t_3 <= 2e+306) {
tmp = Math.sqrt((((2.0 * n) * U) * ((t - (-2.0 * (l / (-Om / l)))) + (t_1 * (U_42_ - U)))));
} else {
tmp = Math.sqrt(2.0) * (l * -Math.sqrt(((n * U) * (((U_42_ / Om) * (n / Om)) + (-2.0 / Om)))));
}
return tmp;
}
function code(n, U, t, l, Om, U_42_) return sqrt(Float64(Float64(Float64(2.0 * n) * U) * Float64(Float64(t - Float64(2.0 * Float64(Float64(l * l) / Om))) - Float64(Float64(n * (Float64(l / Om) ^ 2.0)) * Float64(U - U_42_))))) end
function code(n, U, t, l, Om, U_42_) t_1 = Float64(n * (Float64(l / Om) ^ 2.0)) t_2 = cbrt(Float64(U * t)) t_3 = Float64(Float64(U * Float64(n * -2.0)) * Float64(Float64(t_1 * Float64(U - U_42_)) + Float64(Float64(2.0 * Float64(Float64(l * l) / Om)) - t))) tmp = 0.0 if (t_3 <= 5e-302) tmp = Float64(sqrt(2.0) * Float64(sqrt((t_2 ^ 2.0)) * sqrt(Float64(n * t_2)))); elseif (t_3 <= 2e+306) tmp = sqrt(Float64(Float64(Float64(2.0 * n) * U) * Float64(Float64(t - Float64(-2.0 * Float64(l / Float64(Float64(-Om) / l)))) + Float64(t_1 * Float64(U_42_ - U))))); else tmp = Float64(sqrt(2.0) * Float64(l * Float64(-sqrt(Float64(Float64(n * U) * Float64(Float64(Float64(U_42_ / Om) * Float64(n / Om)) + Float64(-2.0 / Om))))))); end return tmp end
code[n_, U_, t_, l_, Om_, U$42$_] := N[Sqrt[N[(N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision] * N[(N[(t - N[(2.0 * N[(N[(l * l), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]
code[n_, U_, t_, l_, Om_, U$42$_] := Block[{t$95$1 = N[(n * N[Power[N[(l / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[Power[N[(U * t), $MachinePrecision], 1/3], $MachinePrecision]}, Block[{t$95$3 = N[(N[(U * N[(n * -2.0), $MachinePrecision]), $MachinePrecision] * N[(N[(t$95$1 * N[(U - U$42$), $MachinePrecision]), $MachinePrecision] + N[(N[(2.0 * N[(N[(l * l), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, 5e-302], N[(N[Sqrt[2.0], $MachinePrecision] * N[(N[Sqrt[N[Power[t$95$2, 2.0], $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(n * t$95$2), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, 2e+306], N[Sqrt[N[(N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision] * N[(N[(t - N[(-2.0 * N[(l / N[((-Om) / l), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$1 * N[(U$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[2.0], $MachinePrecision] * N[(l * (-N[Sqrt[N[(N[(n * U), $MachinePrecision] * N[(N[(N[(U$42$ / Om), $MachinePrecision] * N[(n / Om), $MachinePrecision]), $MachinePrecision] + N[(-2.0 / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision])), $MachinePrecision]), $MachinePrecision]]]]]]
\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}
\begin{array}{l}
t_1 := n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\\
t_2 := \sqrt[3]{U \cdot t}\\
t_3 := \left(U \cdot \left(n \cdot -2\right)\right) \cdot \left(t_1 \cdot \left(U - U*\right) + \left(2 \cdot \frac{\ell \cdot \ell}{Om} - t\right)\right)\\
\mathbf{if}\;t_3 \leq 5 \cdot 10^{-302}:\\
\;\;\;\;\sqrt{2} \cdot \left(\sqrt{{t_2}^{2}} \cdot \sqrt{n \cdot t_2}\right)\\
\mathbf{elif}\;t_3 \leq 2 \cdot 10^{+306}:\\
\;\;\;\;\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - -2 \cdot \frac{\ell}{\frac{-Om}{\ell}}\right) + t_1 \cdot \left(U* - U\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;\sqrt{2} \cdot \left(\ell \cdot \left(-\sqrt{\left(n \cdot U\right) \cdot \left(\frac{U*}{Om} \cdot \frac{n}{Om} + \frac{-2}{Om}\right)}\right)\right)\\
\end{array}
Results
if (*.f64 (*.f64 (*.f64 2 n) U) (-.f64 (-.f64 t (*.f64 2 (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) 2)) (-.f64 U U*)))) < 5.00000000000000033e-302Initial program 88.14
Simplified85.32
[Start]88.14 | \[ \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}
\] |
|---|---|
associate-*l* [=>]88.14 | \[ \sqrt{\color{blue}{\left(2 \cdot \left(n \cdot U\right)\right)} \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}
\] |
associate-*l* [=>]88.19 | \[ \sqrt{\color{blue}{2 \cdot \left(\left(n \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)}}
\] |
*-commutative [=>]88.19 | \[ \sqrt{2 \cdot \color{blue}{\left(\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right) \cdot \left(n \cdot U\right)\right)}}
\] |
Taylor expanded in l around 0 67.99
Applied egg-rr69.5
Applied egg-rr50.44
if 5.00000000000000033e-302 < (*.f64 (*.f64 (*.f64 2 n) U) (-.f64 (-.f64 t (*.f64 2 (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) 2)) (-.f64 U U*)))) < 2.00000000000000003e306Initial program 1.99
Applied egg-rr1.99
Simplified2
[Start]1.99 | \[ \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \left(-\frac{\ell \cdot \ell}{-Om}\right)\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}
\] |
|---|---|
associate-/l* [=>]2 | \[ \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \left(-\color{blue}{\frac{\ell}{\frac{-Om}{\ell}}}\right)\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}
\] |
distribute-neg-frac [=>]2 | \[ \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \color{blue}{\frac{-\ell}{\frac{-Om}{\ell}}}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}
\] |
if 2.00000000000000003e306 < (*.f64 (*.f64 (*.f64 2 n) U) (-.f64 (-.f64 t (*.f64 2 (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) 2)) (-.f64 U U*)))) Initial program 99.83
Applied egg-rr99.83
Simplified89.62
[Start]99.83 | \[ \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \left(-\frac{\ell \cdot \ell}{-Om}\right)\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}
\] |
|---|---|
associate-/l* [=>]89.62 | \[ \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \left(-\color{blue}{\frac{\ell}{\frac{-Om}{\ell}}}\right)\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}
\] |
distribute-neg-frac [=>]89.62 | \[ \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \color{blue}{\frac{-\ell}{\frac{-Om}{\ell}}}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}
\] |
Taylor expanded in U around 0 96.54
Simplified88.56
[Start]96.54 | \[ \sqrt{2 \cdot \left(n \cdot \left(\left(t - \left(-1 \cdot \frac{n \cdot \left({\ell}^{2} \cdot U*\right)}{{Om}^{2}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U\right)\right)}
\] |
|---|---|
associate-*r* [=>]96.57 | \[ \sqrt{\color{blue}{\left(2 \cdot n\right) \cdot \left(\left(t - \left(-1 \cdot \frac{n \cdot \left({\ell}^{2} \cdot U*\right)}{{Om}^{2}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U\right)}}
\] |
*-commutative [=>]96.57 | \[ \sqrt{\left(2 \cdot n\right) \cdot \color{blue}{\left(U \cdot \left(t - \left(-1 \cdot \frac{n \cdot \left({\ell}^{2} \cdot U*\right)}{{Om}^{2}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)\right)}}
\] |
associate-*r* [=>]99.26 | \[ \sqrt{\color{blue}{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(-1 \cdot \frac{n \cdot \left({\ell}^{2} \cdot U*\right)}{{Om}^{2}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}}
\] |
associate-*r* [<=]99.23 | \[ \sqrt{\color{blue}{\left(2 \cdot \left(n \cdot U\right)\right)} \cdot \left(t - \left(-1 \cdot \frac{n \cdot \left({\ell}^{2} \cdot U*\right)}{{Om}^{2}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}
\] |
+-commutative [=>]99.23 | \[ \sqrt{\left(2 \cdot \left(n \cdot U\right)\right) \cdot \left(t - \color{blue}{\left(2 \cdot \frac{{\ell}^{2}}{Om} + -1 \cdot \frac{n \cdot \left({\ell}^{2} \cdot U*\right)}{{Om}^{2}}\right)}\right)}
\] |
mul-1-neg [=>]99.23 | \[ \sqrt{\left(2 \cdot \left(n \cdot U\right)\right) \cdot \left(t - \left(2 \cdot \frac{{\ell}^{2}}{Om} + \color{blue}{\left(-\frac{n \cdot \left({\ell}^{2} \cdot U*\right)}{{Om}^{2}}\right)}\right)\right)}
\] |
unsub-neg [=>]99.23 | \[ \sqrt{\left(2 \cdot \left(n \cdot U\right)\right) \cdot \left(t - \color{blue}{\left(2 \cdot \frac{{\ell}^{2}}{Om} - \frac{n \cdot \left({\ell}^{2} \cdot U*\right)}{{Om}^{2}}\right)}\right)}
\] |
unpow2 [=>]99.23 | \[ \sqrt{\left(2 \cdot \left(n \cdot U\right)\right) \cdot \left(t - \left(2 \cdot \frac{\color{blue}{\ell \cdot \ell}}{Om} - \frac{n \cdot \left({\ell}^{2} \cdot U*\right)}{{Om}^{2}}\right)\right)}
\] |
associate-*r/ [<=]99.23 | \[ \sqrt{\left(2 \cdot \left(n \cdot U\right)\right) \cdot \left(t - \left(2 \cdot \color{blue}{\left(\ell \cdot \frac{\ell}{Om}\right)} - \frac{n \cdot \left({\ell}^{2} \cdot U*\right)}{{Om}^{2}}\right)\right)}
\] |
associate-*r* [=>]99.23 | \[ \sqrt{\left(2 \cdot \left(n \cdot U\right)\right) \cdot \left(t - \left(\color{blue}{\left(2 \cdot \ell\right) \cdot \frac{\ell}{Om}} - \frac{n \cdot \left({\ell}^{2} \cdot U*\right)}{{Om}^{2}}\right)\right)}
\] |
*-commutative [=>]99.23 | \[ \sqrt{\left(2 \cdot \left(n \cdot U\right)\right) \cdot \left(t - \left(\color{blue}{\frac{\ell}{Om} \cdot \left(2 \cdot \ell\right)} - \frac{n \cdot \left({\ell}^{2} \cdot U*\right)}{{Om}^{2}}\right)\right)}
\] |
associate-/l* [=>]99.33 | \[ \sqrt{\left(2 \cdot \left(n \cdot U\right)\right) \cdot \left(t - \left(\frac{\ell}{Om} \cdot \left(2 \cdot \ell\right) - \color{blue}{\frac{n}{\frac{{Om}^{2}}{{\ell}^{2} \cdot U*}}}\right)\right)}
\] |
associate-/r* [=>]99.3 | \[ \sqrt{\left(2 \cdot \left(n \cdot U\right)\right) \cdot \left(t - \left(\frac{\ell}{Om} \cdot \left(2 \cdot \ell\right) - \frac{n}{\color{blue}{\frac{\frac{{Om}^{2}}{{\ell}^{2}}}{U*}}}\right)\right)}
\] |
Taylor expanded in l around -inf 85.94
Simplified83.68
[Start]85.94 | \[ -1 \cdot \left(\left(\sqrt{2} \cdot \ell\right) \cdot \sqrt{n \cdot \left(\left(\frac{n \cdot U*}{{Om}^{2}} - 2 \cdot \frac{1}{Om}\right) \cdot U\right)}\right)
\] |
|---|---|
mul-1-neg [=>]85.94 | \[ \color{blue}{-\left(\sqrt{2} \cdot \ell\right) \cdot \sqrt{n \cdot \left(\left(\frac{n \cdot U*}{{Om}^{2}} - 2 \cdot \frac{1}{Om}\right) \cdot U\right)}}
\] |
associate-*l* [=>]85.9 | \[ -\color{blue}{\sqrt{2} \cdot \left(\ell \cdot \sqrt{n \cdot \left(\left(\frac{n \cdot U*}{{Om}^{2}} - 2 \cdot \frac{1}{Om}\right) \cdot U\right)}\right)}
\] |
distribute-rgt-neg-in [=>]85.9 | \[ \color{blue}{\sqrt{2} \cdot \left(-\ell \cdot \sqrt{n \cdot \left(\left(\frac{n \cdot U*}{{Om}^{2}} - 2 \cdot \frac{1}{Om}\right) \cdot U\right)}\right)}
\] |
*-commutative [=>]85.9 | \[ \sqrt{2} \cdot \left(-\ell \cdot \sqrt{n \cdot \color{blue}{\left(U \cdot \left(\frac{n \cdot U*}{{Om}^{2}} - 2 \cdot \frac{1}{Om}\right)\right)}}\right)
\] |
associate-*r* [=>]86.14 | \[ \sqrt{2} \cdot \left(-\ell \cdot \sqrt{\color{blue}{\left(n \cdot U\right) \cdot \left(\frac{n \cdot U*}{{Om}^{2}} - 2 \cdot \frac{1}{Om}\right)}}\right)
\] |
cancel-sign-sub-inv [=>]86.14 | \[ \sqrt{2} \cdot \left(-\ell \cdot \sqrt{\left(n \cdot U\right) \cdot \color{blue}{\left(\frac{n \cdot U*}{{Om}^{2}} + \left(-2\right) \cdot \frac{1}{Om}\right)}}\right)
\] |
*-commutative [=>]86.14 | \[ \sqrt{2} \cdot \left(-\ell \cdot \sqrt{\left(n \cdot U\right) \cdot \left(\frac{\color{blue}{U* \cdot n}}{{Om}^{2}} + \left(-2\right) \cdot \frac{1}{Om}\right)}\right)
\] |
unpow2 [=>]86.14 | \[ \sqrt{2} \cdot \left(-\ell \cdot \sqrt{\left(n \cdot U\right) \cdot \left(\frac{U* \cdot n}{\color{blue}{Om \cdot Om}} + \left(-2\right) \cdot \frac{1}{Om}\right)}\right)
\] |
times-frac [=>]83.68 | \[ \sqrt{2} \cdot \left(-\ell \cdot \sqrt{\left(n \cdot U\right) \cdot \left(\color{blue}{\frac{U*}{Om} \cdot \frac{n}{Om}} + \left(-2\right) \cdot \frac{1}{Om}\right)}\right)
\] |
metadata-eval [=>]83.68 | \[ \sqrt{2} \cdot \left(-\ell \cdot \sqrt{\left(n \cdot U\right) \cdot \left(\frac{U*}{Om} \cdot \frac{n}{Om} + \color{blue}{-2} \cdot \frac{1}{Om}\right)}\right)
\] |
associate-*r/ [=>]83.68 | \[ \sqrt{2} \cdot \left(-\ell \cdot \sqrt{\left(n \cdot U\right) \cdot \left(\frac{U*}{Om} \cdot \frac{n}{Om} + \color{blue}{\frac{-2 \cdot 1}{Om}}\right)}\right)
\] |
metadata-eval [=>]83.68 | \[ \sqrt{2} \cdot \left(-\ell \cdot \sqrt{\left(n \cdot U\right) \cdot \left(\frac{U*}{Om} \cdot \frac{n}{Om} + \frac{\color{blue}{-2}}{Om}\right)}\right)
\] |
Final simplification41.16
| Alternative 1 | |
|---|---|
| Error | 47.61% |
| Cost | 20688 |
| Alternative 2 | |
|---|---|
| Error | 47.54% |
| Cost | 14728 |
| Alternative 3 | |
|---|---|
| Error | 47.17% |
| Cost | 14412 |
| Alternative 4 | |
|---|---|
| Error | 45.03% |
| Cost | 14412 |
| Alternative 5 | |
|---|---|
| Error | 48.6% |
| Cost | 8524 |
| Alternative 6 | |
|---|---|
| Error | 47.78% |
| Cost | 8524 |
| Alternative 7 | |
|---|---|
| Error | 49.15% |
| Cost | 8392 |
| Alternative 8 | |
|---|---|
| Error | 51.15% |
| Cost | 7888 |
| Alternative 9 | |
|---|---|
| Error | 57.34% |
| Cost | 7624 |
| Alternative 10 | |
|---|---|
| Error | 54.37% |
| Cost | 7624 |
| Alternative 11 | |
|---|---|
| Error | 56.91% |
| Cost | 7496 |
| Alternative 12 | |
|---|---|
| Error | 53.41% |
| Cost | 7492 |
| Alternative 13 | |
|---|---|
| Error | 63.08% |
| Cost | 7369 |
| Alternative 14 | |
|---|---|
| Error | 56.93% |
| Cost | 7369 |
| Alternative 15 | |
|---|---|
| Error | 57.1% |
| Cost | 7368 |
| Alternative 16 | |
|---|---|
| Error | 61.46% |
| Cost | 7236 |
| Alternative 17 | |
|---|---|
| Error | 62.58% |
| Cost | 7113 |
| Alternative 18 | |
|---|---|
| Error | 62.64% |
| Cost | 6980 |
| Alternative 19 | |
|---|---|
| Error | 62.63% |
| Cost | 6848 |
herbie shell --seed 2023089
(FPCore (n U t l Om U*)
:name "Toniolo and Linder, Equation (13)"
:precision binary64
(sqrt (* (* (* 2.0 n) U) (- (- t (* 2.0 (/ (* l l) Om))) (* (* n (pow (/ l Om) 2.0)) (- U U*))))))