I have a question about the following exercise:
Evaluate $$\left(\left(-2\right)^2\right)^{\frac{1}{2}}.$$
When I solve it I get $2$. I first raise $-2$ to the second power, which is $4$. After that I raise four to the $1/2$ power, which is the same as taking the square root of it. So I get $2$.
But when I put this question in Symbolab, I get $-2$. They are using a formula of exponents. I think their answer is wrong, especially because many other sites, for instance Wolfram Alpha, are saying the answer is $2$.
Link Symbolab exercise: https://www.symbolab.com/solver/step-by-step/%5Cleft(%5Cleft(-2%5Cright)%5E%7B2%7D%5Cright)%5E%7B%5Cfrac%7B1%7D%7B2%7D%7D
Is it correct that when you want to use the formula underneath, $a$ has to be a positive number? Or is there another reason why this rule doesn't seem to work in my example? $$(a^m)^n = {a}^{mn}$$.