java variables to the power of 3 code example Example: raise number to power java Math.pow(number, power);