Since the root is the most outer calculation, the power is executed first, that's why the result equals:
√(16)
If it were reversed:
√(-4)2
You'd have a little problem on representing it with a real number.
EDIT:
A more valid reasoning would be to state that the power operator is not defined to be used with a negative and a non-natural (+0) operand placed in that order. Don't currently have possibilities of cooking some impressive math expression from that, sorry.
You can exponentiate negatives. The way I do it is to ignore the minus sign, do the exponentiation as normal, and then add a minus sign if the exponent is an odd number:
-21 = -2
-22 = 4
-23 = -8
-24 = 16
Sure. CAS. Today I fed Maxima (A-(aB+C))*((D-(aB+C)))=0 (upper case are R^3 and lower case are R) and it gave me the right values for a. CASs never cease to amaze me.
Sure. CAS. Today I fed Maxima (A-(aB+C))*((D-(aB+C)))=0 (upper case are R^3 and lower case are R) and it gave me the right values for a. CASs never cease to amaze me.
I don't get it, what exactly did you do?
Anyways, this deal with the square root: both answers - sqrt(16)=+4 and -4 - are correct.
It depends on your definition of the sqrt() function.