0

how is 9**(1/2) end up as 3.0

can't figure out

22nd Jun 2016, 3:43 PM
Hamid Ibrahim
Hamid Ibrahim - avatar
11 Antworten
+ 4
When you enter that it is trying to find the square root of 9, since any number to the power of a fraction is the equivalent to a root. The square root of 9 is 3.
22nd Jun 2016, 3:46 PM
John Lowe
John Lowe - avatar
+ 2
1/2 is same as√ hence √9 = 3.0
24th Jun 2016, 11:22 AM
afshan
afshan - avatar
+ 1
Yes it is, for example if you did 9**(1/3), it would find the cube root.
22nd Jun 2016, 4:24 PM
John Lowe
John Lowe - avatar
0
ahh makes sense
22nd Jun 2016, 4:35 PM
Hamid Ibrahim
Hamid Ibrahim - avatar
0
I didn't understand too!
23rd Jun 2016, 6:07 AM
Shaifullah Al Ahad
Shaifullah Al Ahad - avatar
0
** is a power function in python, so 9 to the power 1/2 will be 3
24th Jun 2016, 2:04 PM
Poonam Yadav
Poonam Yadav - avatar
0
square root of 9 is 3.
26th Jun 2016, 8:07 AM
Ayush Shridhar
Ayush Shridhar - avatar
0
in python 9**(1/2) will be 1 and not 3 because you're dividing integer/integer so answer Will be an integer. 1/2 is 0 so 9**0 is 1. correct question is why 9**(1/2.0) is 3.0
2nd Oct 2016, 4:34 AM
dhvvfh
- 1
9/1 is 9 and then theres /2 and 9 / 2 is 3.0
26th Jun 2016, 7:22 PM
Darrell John
Darrell John - avatar
- 1
√9=3
28th Jun 2016, 9:09 AM
winny
- 3
thanks. Is that with any fraction?
22nd Jun 2016, 3:51 PM
Hamid Ibrahim
Hamid Ibrahim - avatar