+ 1

Exponentiation meaning?

python programing

5th Jul 2017, 5:44 PM
denise lartius
denise lartius - avatar
2 Antworten
+ 8
It means calculating the *power* of a number. For example below find exponents of the number 2: 2¹ = 2 2² = 2*2 = 4 2³ = 2*2*2 = 8 2⁴ = 2*2*2*2 = 16 2ⁿ = 2*2*2*...*2 (n times) In Python the notation is x**n, which equals xⁿ In other languages it is either ** or ^ symbol or a special method, like pow(x, y)
5th Jul 2017, 6:00 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 2
raising one number to the power of another
5th Jul 2017, 5:58 PM
Eligijus Silkartas
Eligijus Silkartas - avatar