# Exponentiation operator (^)

Value1 ^ Value2

## Value1

Number or { Number }

The base which should be raised.

## Value2

Number or { Number }

The exponent to which the base should be raised.

## Returns

Number or { Number }

The first number raised to the power of the second number.

Raises a number to the power of a second number. 3 ^ 33 ^ 3 is equivalent to 3 * 3 * 33 * 3 * 3 and returns 27.

This operator also works with arrays. { 3, 4 } ^ 3{ 3; 4 } ^ 3 returns the array { 27, 64 }{ 27; 64 } (equivalent to { 3 ^ 3, 4 ^ 3 }{ 3 ^ 3; 4 ^ 3 }) and { 3, 4 } ^ { 3, 4 }{ 3; 4 } ^ { 3; 4 } returns the array { 27, 256 }{ 27; 256 } (equivalent to { 3 ^ 3, 4 ^ 4 }{ 3 ^ 3; 4 ^ 4 }).

The POWER function is equivalent to this operator. These formulas return the same result:

3 ^ 33 ^ 3
POWER(3, 3)POWER(3; 3)

## Examples

3 ^ 33 ^ 3

Returns 27.

{ 3, 4 } ^ 3{ 3; 4 } ^ 3

Returns the array { 27, 64 }{ 27; 64 }, equivalent to { 3 ^ 3, 4 ^ 3 }{ 3 ^ 3; 4 ^ 3 }.

{ 3, 4 } / { 3, 4 }{ 3; 4 } / { 3; 4 }

Returns the array { 27, 256 }{ 27; 256 }, equivalent to { 3 ^ 3, 4 ^ 4 }{ 3 ^ 3; 4 ^ 4 }.