The Math.pow() function calculates the power of x to y, x ^ y. Matrix exponentiation is supported for square matrices x, and positive integer exponents y. It returns the base to the exponent power, ...