Pow('Expression1','Expression2')
Arguments
|
'Expression1' |
Base |
|
'Expression2' |
Exponent |
Description
This function takes 'Expression1' (base) to the power of 'Expression2' (exponent).
Example
Calculating some important powers
(2)^0 = Pow(2, 0) = 1
(2)^-2 = Pow(2, -2) = 0.25
(-2)^2 = Pow(-2, 2) = 4
(10)^(lg 2) = Pow(10, Log10(2)) = 2
(0)^-1 = Pow(0, -1) = +∞ (infinity)
Note |
|
|---|---|
|
Raising 0 to the power of -1 does not produce an error message, but it also does not return a result. |
|