+ 1
What did math.pow () is doing?
2 ответов
+ 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.