| Alternative 1 | |
|---|---|
| Error | 26.0 |
| Cost | 30728 |
(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
(*
(* U (* n -2.0))
(+
(* (* n (pow (/ l Om) 2.0)) (- U U*))
(- (* 2.0 (/ (* l l) Om)) t)))))
(if (<= t_1 -5e-24)
(sqrt
(*
-2.0
(*
n
(*
(* l (* U l))
(+ (* (/ (- U* U) (/ Om n)) (/ -1.0 Om)) (/ 2.0 Om))))))
(if (<= t_1 5e-310)
(pow (* (cbrt (* U t)) (cbrt (* 2.0 n))) 1.5)
(if (<= t_1 8e+298)
(sqrt t_1)
(sqrt
(fma
2.0
(* n (* U t))
(* -4.0 (* (/ (* n l) Om) (/ l (/ 1.0 U)))))))))))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 = (U * (n * -2.0)) * (((n * pow((l / Om), 2.0)) * (U - U_42_)) + ((2.0 * ((l * l) / Om)) - t));
double tmp;
if (t_1 <= -5e-24) {
tmp = sqrt((-2.0 * (n * ((l * (U * l)) * ((((U_42_ - U) / (Om / n)) * (-1.0 / Om)) + (2.0 / Om))))));
} else if (t_1 <= 5e-310) {
tmp = pow((cbrt((U * t)) * cbrt((2.0 * n))), 1.5);
} else if (t_1 <= 8e+298) {
tmp = sqrt(t_1);
} else {
tmp = sqrt(fma(2.0, (n * (U * t)), (-4.0 * (((n * l) / Om) * (l / (1.0 / U))))));
}
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(Float64(U * Float64(n * -2.0)) * Float64(Float64(Float64(n * (Float64(l / Om) ^ 2.0)) * Float64(U - U_42_)) + Float64(Float64(2.0 * Float64(Float64(l * l) / Om)) - t))) tmp = 0.0 if (t_1 <= -5e-24) tmp = sqrt(Float64(-2.0 * Float64(n * Float64(Float64(l * Float64(U * l)) * Float64(Float64(Float64(Float64(U_42_ - U) / Float64(Om / n)) * Float64(-1.0 / Om)) + Float64(2.0 / Om)))))); elseif (t_1 <= 5e-310) tmp = Float64(cbrt(Float64(U * t)) * cbrt(Float64(2.0 * n))) ^ 1.5; elseif (t_1 <= 8e+298) tmp = sqrt(t_1); else tmp = sqrt(fma(2.0, Float64(n * Float64(U * t)), Float64(-4.0 * Float64(Float64(Float64(n * l) / Om) * Float64(l / Float64(1.0 / U)))))); 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[(U * N[(n * -2.0), $MachinePrecision]), $MachinePrecision] * N[(N[(N[(n * N[Power[N[(l / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * 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$1, -5e-24], N[Sqrt[N[(-2.0 * N[(n * N[(N[(l * N[(U * l), $MachinePrecision]), $MachinePrecision] * N[(N[(N[(N[(U$42$ - U), $MachinePrecision] / N[(Om / n), $MachinePrecision]), $MachinePrecision] * N[(-1.0 / Om), $MachinePrecision]), $MachinePrecision] + N[(2.0 / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], If[LessEqual[t$95$1, 5e-310], N[Power[N[(N[Power[N[(U * t), $MachinePrecision], 1/3], $MachinePrecision] * N[Power[N[(2.0 * n), $MachinePrecision], 1/3], $MachinePrecision]), $MachinePrecision], 1.5], $MachinePrecision], If[LessEqual[t$95$1, 8e+298], N[Sqrt[t$95$1], $MachinePrecision], N[Sqrt[N[(2.0 * N[(n * N[(U * t), $MachinePrecision]), $MachinePrecision] + N[(-4.0 * N[(N[(N[(n * l), $MachinePrecision] / Om), $MachinePrecision] * N[(l / N[(1.0 / U), $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 := \left(U \cdot \left(n \cdot -2\right)\right) \cdot \left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right) + \left(2 \cdot \frac{\ell \cdot \ell}{Om} - t\right)\right)\\
\mathbf{if}\;t_1 \leq -5 \cdot 10^{-24}:\\
\;\;\;\;\sqrt{-2 \cdot \left(n \cdot \left(\left(\ell \cdot \left(U \cdot \ell\right)\right) \cdot \left(\frac{U* - U}{\frac{Om}{n}} \cdot \frac{-1}{Om} + \frac{2}{Om}\right)\right)\right)}\\
\mathbf{elif}\;t_1 \leq 5 \cdot 10^{-310}:\\
\;\;\;\;{\left(\sqrt[3]{U \cdot t} \cdot \sqrt[3]{2 \cdot n}\right)}^{1.5}\\
\mathbf{elif}\;t_1 \leq 8 \cdot 10^{+298}:\\
\;\;\;\;\sqrt{t_1}\\
\mathbf{else}:\\
\;\;\;\;\sqrt{\mathsf{fma}\left(2, n \cdot \left(U \cdot t\right), -4 \cdot \left(\frac{n \cdot \ell}{Om} \cdot \frac{\ell}{\frac{1}{U}}\right)\right)}\\
\end{array}
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*)))) < -4.9999999999999998e-24Initial program 64.0
Simplified43.6
[Start]64.0 | \[ \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* [=>]64.0 | \[ \sqrt{\color{blue}{\left(2 \cdot n\right) \cdot \left(U \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)}}
\] |
associate--l- [=>]64.0 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \color{blue}{\left(t - \left(2 \cdot \frac{\ell \cdot \ell}{Om} + \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)}\right)}
\] |
sub-neg [=>]64.0 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \color{blue}{\left(t + \left(-\left(2 \cdot \frac{\ell \cdot \ell}{Om} + \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}\right)}
\] |
sub-neg [<=]64.0 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \color{blue}{\left(t - \left(2 \cdot \frac{\ell \cdot \ell}{Om} + \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)}\right)}
\] |
cancel-sign-sub [<=]64.0 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \left(t - \color{blue}{\left(2 \cdot \frac{\ell \cdot \ell}{Om} - \left(-n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}\right)\right)}
\] |
cancel-sign-sub [=>]64.0 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \left(t - \color{blue}{\left(2 \cdot \frac{\ell \cdot \ell}{Om} + \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}\right)\right)}
\] |
associate-/l* [=>]48.8 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \left(t - \left(2 \cdot \color{blue}{\frac{\ell}{\frac{Om}{\ell}}} + \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}
\] |
associate-*l* [=>]43.6 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \left(t - \left(2 \cdot \frac{\ell}{\frac{Om}{\ell}} + \color{blue}{n \cdot \left({\left(\frac{\ell}{Om}\right)}^{2} \cdot \left(U - U*\right)\right)}\right)\right)\right)}
\] |
Taylor expanded in l around inf 56.9
Simplified56.5
[Start]56.9 | \[ \sqrt{-2 \cdot \left(\left(\frac{n \cdot \left(U - U*\right)}{{Om}^{2}} + 2 \cdot \frac{1}{Om}\right) \cdot \left(n \cdot \left({\ell}^{2} \cdot U\right)\right)\right)}
\] |
|---|---|
*-commutative [=>]56.9 | \[ \sqrt{-2 \cdot \color{blue}{\left(\left(n \cdot \left({\ell}^{2} \cdot U\right)\right) \cdot \left(\frac{n \cdot \left(U - U*\right)}{{Om}^{2}} + 2 \cdot \frac{1}{Om}\right)\right)}}
\] |
associate-*l* [=>]56.9 | \[ \sqrt{-2 \cdot \color{blue}{\left(n \cdot \left(\left({\ell}^{2} \cdot U\right) \cdot \left(\frac{n \cdot \left(U - U*\right)}{{Om}^{2}} + 2 \cdot \frac{1}{Om}\right)\right)\right)}}
\] |
unpow2 [=>]56.9 | \[ \sqrt{-2 \cdot \left(n \cdot \left(\left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot U\right) \cdot \left(\frac{n \cdot \left(U - U*\right)}{{Om}^{2}} + 2 \cdot \frac{1}{Om}\right)\right)\right)}
\] |
associate-*l* [=>]56.5 | \[ \sqrt{-2 \cdot \left(n \cdot \left(\color{blue}{\left(\ell \cdot \left(\ell \cdot U\right)\right)} \cdot \left(\frac{n \cdot \left(U - U*\right)}{{Om}^{2}} + 2 \cdot \frac{1}{Om}\right)\right)\right)}
\] |
unpow2 [=>]56.5 | \[ \sqrt{-2 \cdot \left(n \cdot \left(\left(\ell \cdot \left(\ell \cdot U\right)\right) \cdot \left(\frac{n \cdot \left(U - U*\right)}{\color{blue}{Om \cdot Om}} + 2 \cdot \frac{1}{Om}\right)\right)\right)}
\] |
associate-*r/ [=>]56.5 | \[ \sqrt{-2 \cdot \left(n \cdot \left(\left(\ell \cdot \left(\ell \cdot U\right)\right) \cdot \left(\frac{n \cdot \left(U - U*\right)}{Om \cdot Om} + \color{blue}{\frac{2 \cdot 1}{Om}}\right)\right)\right)}
\] |
metadata-eval [=>]56.5 | \[ \sqrt{-2 \cdot \left(n \cdot \left(\left(\ell \cdot \left(\ell \cdot U\right)\right) \cdot \left(\frac{n \cdot \left(U - U*\right)}{Om \cdot Om} + \frac{\color{blue}{2}}{Om}\right)\right)\right)}
\] |
Applied egg-rr42.0
if -4.9999999999999998e-24 < (*.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*)))) < 4.999999999999985e-310Initial program 55.8
Simplified42.1
[Start]55.8 | \[ \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* [=>]40.8 | \[ \sqrt{\color{blue}{\left(2 \cdot n\right) \cdot \left(U \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)}}
\] |
cancel-sign-sub-inv [=>]40.8 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \color{blue}{\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 [=>]40.8 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \color{blue}{\left(\left(-n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)}
\] |
distribute-lft-neg-in [<=]40.8 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \left(\color{blue}{\left(-\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)\right)}
\] |
associate-*l* [=>]42.1 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \left(\left(-\color{blue}{n \cdot \left({\left(\frac{\ell}{Om}\right)}^{2} \cdot \left(U - U*\right)\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)\right)}
\] |
distribute-rgt-neg-in [=>]42.1 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \left(\color{blue}{n \cdot \left(-{\left(\frac{\ell}{Om}\right)}^{2} \cdot \left(U - U*\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)\right)}
\] |
fma-def [=>]42.1 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \color{blue}{\mathsf{fma}\left(n, -{\left(\frac{\ell}{Om}\right)}^{2} \cdot \left(U - U*\right), t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}\right)}
\] |
Taylor expanded in l around 0 44.7
Applied egg-rr44.9
Applied egg-rr26.9
Simplified26.9
[Start]26.9 | \[ {\left(\sqrt[3]{2 \cdot n} \cdot \sqrt[3]{U \cdot t}\right)}^{1.5}
\] |
|---|---|
*-commutative [=>]26.9 | \[ {\color{blue}{\left(\sqrt[3]{U \cdot t} \cdot \sqrt[3]{2 \cdot n}\right)}}^{1.5}
\] |
*-commutative [<=]26.9 | \[ {\left(\sqrt[3]{\color{blue}{t \cdot U}} \cdot \sqrt[3]{2 \cdot n}\right)}^{1.5}
\] |
if 4.999999999999985e-310 < (*.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*)))) < 7.9999999999999997e298Initial program 1.4
if 7.9999999999999997e298 < (*.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 63.2
Simplified54.6
[Start]63.2 | \[ \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* [=>]62.2 | \[ \sqrt{\color{blue}{\left(2 \cdot n\right) \cdot \left(U \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)}}
\] |
cancel-sign-sub-inv [=>]62.2 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \color{blue}{\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 [=>]62.2 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \color{blue}{\left(\left(-n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)}
\] |
distribute-lft-neg-in [<=]62.2 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \left(\color{blue}{\left(-\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)\right)}
\] |
associate-*l* [=>]61.7 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \left(\left(-\color{blue}{n \cdot \left({\left(\frac{\ell}{Om}\right)}^{2} \cdot \left(U - U*\right)\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)\right)}
\] |
distribute-rgt-neg-in [=>]61.7 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \left(\color{blue}{n \cdot \left(-{\left(\frac{\ell}{Om}\right)}^{2} \cdot \left(U - U*\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)\right)}
\] |
fma-def [=>]61.7 | \[ \sqrt{\left(2 \cdot n\right) \cdot \left(U \cdot \color{blue}{\mathsf{fma}\left(n, -{\left(\frac{\ell}{Om}\right)}^{2} \cdot \left(U - U*\right), t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}\right)}
\] |
Taylor expanded in Om around inf 60.1
Simplified59.8
[Start]60.1 | \[ \sqrt{2 \cdot \left(n \cdot \left(t \cdot U\right)\right) + -4 \cdot \frac{n \cdot \left({\ell}^{2} \cdot U\right)}{Om}}
\] |
|---|---|
fma-def [=>]60.1 | \[ \sqrt{\color{blue}{\mathsf{fma}\left(2, n \cdot \left(t \cdot U\right), -4 \cdot \frac{n \cdot \left({\ell}^{2} \cdot U\right)}{Om}\right)}}
\] |
*-commutative [=>]60.1 | \[ \sqrt{\mathsf{fma}\left(2, n \cdot \color{blue}{\left(U \cdot t\right)}, -4 \cdot \frac{n \cdot \left({\ell}^{2} \cdot U\right)}{Om}\right)}
\] |
associate-*r* [=>]60.2 | \[ \sqrt{\mathsf{fma}\left(2, n \cdot \left(U \cdot t\right), -4 \cdot \frac{\color{blue}{\left(n \cdot {\ell}^{2}\right) \cdot U}}{Om}\right)}
\] |
associate-/l* [=>]59.8 | \[ \sqrt{\mathsf{fma}\left(2, n \cdot \left(U \cdot t\right), -4 \cdot \color{blue}{\frac{n \cdot {\ell}^{2}}{\frac{Om}{U}}}\right)}
\] |
unpow2 [=>]59.8 | \[ \sqrt{\mathsf{fma}\left(2, n \cdot \left(U \cdot t\right), -4 \cdot \frac{n \cdot \color{blue}{\left(\ell \cdot \ell\right)}}{\frac{Om}{U}}\right)}
\] |
Applied egg-rr47.5
Final simplification23.4
| Alternative 1 | |
|---|---|
| Error | 26.0 |
| Cost | 30728 |
| Alternative 2 | |
|---|---|
| Error | 32.3 |
| Cost | 15072 |
| Alternative 3 | |
|---|---|
| Error | 31.6 |
| Cost | 15072 |
| Alternative 4 | |
|---|---|
| Error | 31.2 |
| Cost | 14860 |
| Alternative 5 | |
|---|---|
| Error | 31.9 |
| Cost | 14676 |
| Alternative 6 | |
|---|---|
| Error | 32.7 |
| Cost | 14548 |
| Alternative 7 | |
|---|---|
| Error | 33.0 |
| Cost | 14020 |
| Alternative 8 | |
|---|---|
| Error | 33.4 |
| Cost | 13909 |
| Alternative 9 | |
|---|---|
| Error | 33.6 |
| Cost | 13644 |
| Alternative 10 | |
|---|---|
| Error | 35.3 |
| Cost | 13512 |
| Alternative 11 | |
|---|---|
| Error | 35.3 |
| Cost | 8264 |
| Alternative 12 | |
|---|---|
| Error | 35.9 |
| Cost | 8140 |
| Alternative 13 | |
|---|---|
| Error | 35.8 |
| Cost | 7889 |
| Alternative 14 | |
|---|---|
| Error | 35.0 |
| Cost | 7888 |
| Alternative 15 | |
|---|---|
| Error | 40.1 |
| Cost | 7496 |
| Alternative 16 | |
|---|---|
| Error | 39.9 |
| Cost | 6848 |
herbie shell --seed 2023047
(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*))))))