Average Error: 29.3 → 0.6
Time: 5.0s
Precision: 64
\[\sqrt[3]{x + 1} - \sqrt[3]{x}\]
\[\frac{\frac{\left(\left(x + 1\right) + x\right) \cdot 1}{\left(x + 1\right) + x}}{\left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}} + \sqrt[3]{x + 1}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}}\]
\sqrt[3]{x + 1} - \sqrt[3]{x}
\frac{\frac{\left(\left(x + 1\right) + x\right) \cdot 1}{\left(x + 1\right) + x}}{\left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}} + \sqrt[3]{x + 1}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}}
double code(double x) {
	return (cbrt((x + 1.0)) - cbrt(x));
}
double code(double x) {
	return (((((x + 1.0) + x) * 1.0) / ((x + 1.0) + x)) / (((cbrt((cbrt(x) * cbrt(x))) * cbrt(cbrt(x))) * ((cbrt((cbrt(x) * cbrt(x))) * cbrt(cbrt(x))) + cbrt((x + 1.0)))) + (cbrt((x + 1.0)) * cbrt((x + 1.0)))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 29.3

    \[\sqrt[3]{x + 1} - \sqrt[3]{x}\]
  2. Using strategy rm
  3. Applied add-cube-cbrt29.3

    \[\leadsto \sqrt[3]{x + 1} - \sqrt[3]{\color{blue}{\left(\sqrt[3]{x} \cdot \sqrt[3]{x}\right) \cdot \sqrt[3]{x}}}\]
  4. Applied cbrt-prod29.4

    \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}}\]
  5. Using strategy rm
  6. Applied flip3--29.4

    \[\leadsto \color{blue}{\frac{{\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) + \sqrt[3]{x + 1} \cdot \left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right)\right)}}\]
  7. Simplified28.6

    \[\leadsto \frac{\color{blue}{\left(x + 1\right) - x}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) + \sqrt[3]{x + 1} \cdot \left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right)\right)}\]
  8. Simplified28.6

    \[\leadsto \frac{\left(x + 1\right) - x}{\color{blue}{\left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}} + \sqrt[3]{x + 1}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}}}\]
  9. Using strategy rm
  10. Applied flip--30.0

    \[\leadsto \frac{\color{blue}{\frac{\left(x + 1\right) \cdot \left(x + 1\right) - x \cdot x}{\left(x + 1\right) + x}}}{\left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}} + \sqrt[3]{x + 1}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}}\]
  11. Simplified0.6

    \[\leadsto \frac{\frac{\color{blue}{\left(\left(x + 1\right) + x\right) \cdot 1}}{\left(x + 1\right) + x}}{\left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \left(\sqrt[3]{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}} + \sqrt[3]{x + 1}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}}\]
  12. Final simplification0.6

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

Reproduce

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