I know how to obtain the square root of a number using the sqrt function.
sqrt
How can I obtain the cube root of a number?
sqrt()
Please explain why do you need to overload sqrt() so we can help you to do what you want.