power()

Read(268) Label: numerical value, nthpower, base,

Description:

Perform exponentiation or find the nth root of a number.

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 .

Parameters:

x

Base

n

Power; default is 2

Return value:

Numeric type

Example:

power(2,4)

power(16,1/4)

16.0

2.0

power(5)

25

Related functions:

exp(n)