New course! Every coder should learn Generative AI!
Try a free lesson+ 2
About python my problem
3**2=(-3)**2=9,but 9**(1/2)=only 3 why not -3
3 Answers
+ 2
the square root of a negative number exists, it's a complex number!
but 9**(1/2) =|3| which cannot be - 3
+ 6
Root function is only the positive value.
Mathematicians decided so.
+ 4
Because we never get the value for square root in minus. If you know math well then you should know.