what is 9**(1/2) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

what is 9**(1/2)

phython

13th Nov 2017, 11:14 AM
firoj
8 Answers
+ 14
Write "print(9**1/2)" on code playground
13th Nov 2017, 11:31 AM
qwerty
qwerty - avatar
+ 11
3.0 9**(1/2), by the law of indices, = sqrt(9) = 3 But wait, 1/2 is a float, ao it is not 3, 3.0
13th Nov 2017, 12:01 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 7
3
13th Nov 2017, 11:24 AM
Programmer Jr.
Programmer Jr. - avatar
+ 4
** power or exponent means a number is multiplied by itself. Here 9 is the base, (1/2) and 0.5 are the exponent. The answer is 3.0 9**(1/2) == 9**0.5
13th Nov 2017, 11:34 AM
Ferhat Sevim
Ferhat Sevim - avatar
+ 2
1/2 = 0.5 and it's float. then answer is 3.0
28th Nov 2017, 1:38 AM
Hasintha Lahiru
Hasintha Lahiru - avatar
+ 1
1/2=0.5 and 0 in python zero division error ok 9** = root of 9 =3 so answer is 3.0
31st Dec 2017, 6:42 AM
Mukund
Mukund - avatar
0
3
23rd Mar 2018, 5:56 AM
Praveen Kumar
0
9**1/2 >>> 9*1/2=3 which also means 3.0 is it right?
11th May 2018, 3:35 PM
Mr.Perfect
Mr.Perfect - avatar