power()

Read(2713) Label: numerical value, nth power, base,

Description:

Perform exponentiation or find the nth root.

Syntax:

power(x, n)

Note:

The function computes number x raised to the nth power, or takes an nth root of x; if parameter n's value is a reciprocal (1/n), the function finds the root.

Parameter:

x

Base.

n

Power, whose default is 2; find the root when the value is a reciprocal.

Return value:

Numeric

Example:

power(2,4)

16.0

power(16,1/4)

2.0

power(5)

25

Related functions:

exp(n)