+ 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!
9 Antworten
+ 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! 🤗
🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊
+ 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.
+ 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...!!!
+ 4
Solve the inner parentheses first.
1/2=0.5
9**0.5=3
PEDMAS is being used to solve these problems
+ 4
1/2=0.5
0.5 * * = 3.0 answer
+ 2
9**(1/2) = √9 = 3
Turkish math bro
0
Can anyone axplain it with real example
0
For ex:I have two apples,i lost one,then how many apples do i have
0