+ 2

Как? 9**(1/2)=3.0

25th Apr 2017, 12:37 PM
fastyrbo
fastyrbo - avatar
3 Antworten
+ 12
9 в 0.5 степени = корень из 9 = 3
25th Apr 2017, 12:42 PM
Tato
Tato - avatar
+ 11
1/2 = 0.5 = 50% 0.5*2 = 1 = 100% 9**0.5 = 3 3**2 = 9 3**2 is the same as 3*3 3**3 would be the same as 3*3*3 and so on..
25th Apr 2017, 12:41 PM
Tim G
Tim G - avatar
+ 5
It is a general mathematical fact/definition, that for a positive integer n and real number x, the expression x**(1/n) is just the n-th root of x, if it exists. 9**(1/2) is the square root of 9, which is 3. 8**(1/3) is the third root of 8, which is 2. As the operation returns a floating point number, you will get the ".0" at the end.
25th Apr 2017, 1:02 PM
Tob
Tob - avatar