Returns the result of b raised to the y power.
| Name | Description |
|---|---|
| the base of the expression | |
| the exponent part of the expression |
The power function is used to calculate the result of the exponent operator for any two numbers. For example, when given an input of pow(5,2) the power function returns 25 which is the result of raising to the power.
pow(2,0) = 1pow(2,1) = 2pow(2,2) = 4pow(2,3) = 8pow(3,0) = 1pow(3,1) = 3pow(3,2) = 9pow(3,3) = 27The power function is equivalent to the math expression:
Returns the square root of x.
The exponential function models exponential growth. The output of the function at any given point is equal to the rate of change at that point.