+ 1
What did math.pow () is doing?
2 Answers
+ 10
Math.pow(7,3) is the same as:
7 Ă 7 Ă 7 = 343
Where from the left 7 Ă 7 = 49 Ă 7 = 343, as you multiple the result to the power in this case 3. Here's another one a little but bigger:
Math.pow(8,4)
8 Ă 8 Ă 8 Ă 8 = 4,096
8 Ă 8 = 64 Ă 8 = 512 Ă 8 = 4,096
+ 9
Raises a number to a power.