Power Function

All Functions

Summary

Returns the result of b raised to the y power.

Syntax

Arguments

Name Description
the base of the expression
the exponent part of the expression

How to use

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.

Base 2 Examples

pow(2,0) = 1
pow(2,1) = 2
pow(2,2) = 4
pow(2,3) = 8

Base 3 Examples

pow(3,0) = 1
pow(3,1) = 3
pow(3,2) = 9
pow(3,3) = 27

Explanation

The power function is equivalent to the math expression:

Related Functions

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.