(-5^2) = -25

right ?

3 answers

(-5)^2 = 25, but -(5^2) is -25.

What you have written is ambiguous.
no , my problem is :

(-5^2)
Your problem is ambiguous. You have to make clear what is being squared: -5 or 5.