?

Average Error: 30.4 → 30.5
Time: 9.6s
Precision: binary64
Cost: 19904

?

\[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
\[\sqrt[3]{x + 1} - \left(\sqrt[3]{x} \cdot 4 + \sqrt[3]{x} \cdot -3\right) \]
(FPCore (x) :precision binary64 (- (cbrt (+ x 1.0)) (cbrt x)))
(FPCore (x)
 :precision binary64
 (- (cbrt (+ x 1.0)) (+ (* (cbrt x) 4.0) (* (cbrt x) -3.0))))
double code(double x) {
	return cbrt((x + 1.0)) - cbrt(x);
}
double code(double x) {
	return cbrt((x + 1.0)) - ((cbrt(x) * 4.0) + (cbrt(x) * -3.0));
}
public static double code(double x) {
	return Math.cbrt((x + 1.0)) - Math.cbrt(x);
}
public static double code(double x) {
	return Math.cbrt((x + 1.0)) - ((Math.cbrt(x) * 4.0) + (Math.cbrt(x) * -3.0));
}
function code(x)
	return Float64(cbrt(Float64(x + 1.0)) - cbrt(x))
end
function code(x)
	return Float64(cbrt(Float64(x + 1.0)) - Float64(Float64(cbrt(x) * 4.0) + Float64(cbrt(x) * -3.0)))
end
code[x_] := N[(N[Power[N[(x + 1.0), $MachinePrecision], 1/3], $MachinePrecision] - N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]
code[x_] := N[(N[Power[N[(x + 1.0), $MachinePrecision], 1/3], $MachinePrecision] - N[(N[(N[Power[x, 1/3], $MachinePrecision] * 4.0), $MachinePrecision] + N[(N[Power[x, 1/3], $MachinePrecision] * -3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\sqrt[3]{x + 1} - \sqrt[3]{x}
\sqrt[3]{x + 1} - \left(\sqrt[3]{x} \cdot 4 + \sqrt[3]{x} \cdot -3\right)

Error?

Try it out?

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation?

  1. Initial program 30.4

    \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
  2. Applied egg-rr30.5

    \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\left(\sqrt[3]{x} \cdot 4 + \sqrt[3]{x} \cdot -3\right)} \]
  3. Final simplification30.5

    \[\leadsto \sqrt[3]{x + 1} - \left(\sqrt[3]{x} \cdot 4 + \sqrt[3]{x} \cdot -3\right) \]

Alternatives

Alternative 1
Error30.4
Cost13120
\[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
Alternative 2
Error61.7
Cost64
\[0 \]
Alternative 3
Error32.6
Cost64
\[1 \]

Error

Reproduce?

herbie shell --seed 2023097 
(FPCore (x)
  :name "2cbrt (problem 3.3.4)"
  :precision binary64
  (- (cbrt (+ x 1.0)) (cbrt x)))