- 1
How print (9**(1/2)) will be the output as 3.0 What it does mean? 1/2=0.5 then 9**means twice of 9 right, So 9x9x0.5=40.5right ?
10 Antworten
+ 5
9**0.5 is the square root of 9
m**(1/n)=nth root of m
27**(1/3) = 3√27 =3.0
+ 1
Oh okay sir
+ 1
Please specify a programming language tag in your questions. This looks like python.
The code (9**(1/2)) calculates the square root of 9 where
9 is our base,
** is the exponentiation operator and 1/2 is our power. Python will determine 1/2 as it is first in Order Of Precedence. The output is a float.
9^(0.5) = 3.0
0
I don't understand
0
Explain me please 😂
0
I don't understand how the answer is 3 either. I. just need to figure out, how to get to the answer.
0
I don't understand
0
I also dont understand
- 1
Ok dude