+ 6

print (9 ** (1/2)) - How to solve this example?

print (9 ** (1/2)) - sample answer 3.0 How is this example solved? Dear friends, please explain!

24th Aug 2020, 1:52 AM
Learner
Learner - avatar
9 Answers
+ 8
Steven M, Himanshu Shah, sarada lakshmi, ๐Ÿ‘พ ๐Ÿ…ผ๐Ÿ…ฐ๐Ÿ†€๐Ÿ†‚๐Ÿ†„๐Ÿ…ณ ๐Ÿ‘พ ๐Ÿ‡บ๐Ÿ‡ฟ ๐Ÿ‘ Many thanks to all! You explained a solution that I didn't understand without melting! ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป ๐Ÿ† Thanks again for your support, dear friends! ๐Ÿค— ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ๐ŸŽŠ
25th Aug 2020, 1:32 AM
Learner
Learner - avatar
+ 5
Mukhammadsodik Gofurov Print (9**(1/2)) Look here in round bracket there is also 1 bracket inside it. So have to take inside bracket first. So 1/2 is 0.5. Now we get print (9**0.5), I hope you know the meaning of ** (raised to number) here it means (9 raised to 0.5) so the answer is 3 . I hope you get it. If the bracket inside is not then we used rule called PEMDAS It means PARANTHESES EXPONENTIATION MULTIPLICATION DIVISION ADDITION SUBTRACTION then we do in this rule.
24th Aug 2020, 3:39 AM
Himanshu Shah
Himanshu Shah - avatar
+ 5
Python follows PEMDAS rule. (Parantheses, Exponentiation, Multiplication, Division, Addition, Subtraction) According to this, the exp is solved as follows: First, exp in brackets has to be solved i.e.,1/2 which is equal to 0.5 and then Exponentiation which is ** so, 9**0.5 which is nothing but sqrt(9) equals to 3.0. So,answer is 3.0 Solved...!!!
24th Aug 2020, 3:47 AM
sarada lakshmi
sarada lakshmi - avatar
+ 4
Solve the inner parentheses first. 1/2=0.5 9**0.5=3 PEDMAS is being used to solve these problems
24th Aug 2020, 2:20 AM
Steven M
Steven M - avatar
+ 4
1/2=0.5 0.5 * * = 3.0 answer
24th Aug 2020, 4:22 AM
</๐šœ๐šŒ๐š˜๐š›๐š™๐š’๐š˜๐š—>
</๐šœ๐šŒ๐š˜๐š›๐š™๐š’๐š˜๐š—> - avatar
+ 2
9**(1/2) = โˆš9 = 3 Turkish math bro
28th Jan 2022, 9:26 AM
YaลŸar YiฤŸit
0
Can anyone axplain it with real example
8th Dec 2021, 3:17 PM
ะขะพั…ะธั€
ะขะพั…ะธั€ - avatar
0
For ex:I have two apples,i lost one,then how many apples do i have
8th Dec 2021, 3:18 PM
ะขะพั…ะธั€
ะขะพั…ะธั€ - avatar
0
17th May 2022, 4:29 PM
Eydan Delgado
Eydan Delgado - avatar