In This Topic
Syntax
POW(base; exponent)
Arguments
The 'base' argument may be either a scalar value or an array. The 'exponent' argument must be a constant.
Result
If 'base' is a scalar value, the result is a scalar value.
If 'base' is an array, the result is also an array with the size of 'base'.
Description
The POW function computes 'base' raised to the power of 'exponent'.
Example 1:
Expression: POW(arg1; 2)
arg1 |
3 |
2 |
6 |
0.5 |
7 |
result |
9 |
4 |
36 |
0.25 |
49 |
Example 2:
(square root)
Expression: POW(arg1; 0.5)
arg1 |
25 |
9 |
59 |
16 |
107 |
result |
5 |
3 |
7.68 |
4 |
10.34 |
Related Examples
Windows Forms: All Examples\Data Manipulation\Functions\Statistical\Power, Cumulative, Exp. Average