Please review the proper way(s) to take the square root or raise one value to the power of another in Java.