Average Error: 0.0 → 0.1
Time: 6.0s
Precision: binary64
\[\cos x \cdot \frac{\sinh y}{y} \]
\[\frac{\cos x}{\sqrt[3]{{\left(\frac{y}{\sinh y}\right)}^{3}}} \]
(FPCore (x y) :precision binary64 (* (cos x) (/ (sinh y) y)))
(FPCore (x y) :precision binary64 (/ (cos x) (cbrt (pow (/ y (sinh y)) 3.0))))
double code(double x, double y) {
	return cos(x) * (sinh(y) / y);
}
double code(double x, double y) {
	return cos(x) / cbrt(pow((y / sinh(y)), 3.0));
}
public static double code(double x, double y) {
	return Math.cos(x) * (Math.sinh(y) / y);
}
public static double code(double x, double y) {
	return Math.cos(x) / Math.cbrt(Math.pow((y / Math.sinh(y)), 3.0));
}
function code(x, y)
	return Float64(cos(x) * Float64(sinh(y) / y))
end
function code(x, y)
	return Float64(cos(x) / cbrt((Float64(y / sinh(y)) ^ 3.0)))
end
code[x_, y_] := N[(N[Cos[x], $MachinePrecision] * N[(N[Sinh[y], $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]
code[x_, y_] := N[(N[Cos[x], $MachinePrecision] / N[Power[N[Power[N[(y / N[Sinh[y], $MachinePrecision]), $MachinePrecision], 3.0], $MachinePrecision], 1/3], $MachinePrecision]), $MachinePrecision]
\cos x \cdot \frac{\sinh y}{y}
\frac{\cos x}{\sqrt[3]{{\left(\frac{y}{\sinh y}\right)}^{3}}}

Error

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\cos x \cdot \frac{\sinh y}{y} \]
  2. Applied egg-rr0.0

    \[\leadsto \color{blue}{\frac{\cos x}{\frac{y}{\sinh y}}} \]
  3. Applied egg-rr0.1

    \[\leadsto \frac{\cos x}{\color{blue}{\sqrt[3]{{\left(\frac{y}{\sinh y}\right)}^{3}}}} \]
  4. Final simplification0.1

    \[\leadsto \frac{\cos x}{\sqrt[3]{{\left(\frac{y}{\sinh y}\right)}^{3}}} \]

Reproduce

herbie shell --seed 2022210 
(FPCore (x y)
  :name "Linear.Quaternion:$csin from linear-1.19.1.3"
  :precision binary64
  (* (cos x) (/ (sinh y) y)))