I need to create a program in Java to calculate the function: **cbrt(1+x²)-x**

With the smallest relative error. But I have no idea the logic for this, can anyone help me?

(Sorry for my poor English)