My online physics course is using cosine law to find the net forces on objects. My question is to do with the equation, at first it shows it as : c^2=a^2+b^2-2ab cosC. From there, it changes to: c=[a^2+b^2-2ab cosC]^1/2. How and why does this work? Why isn't a square root involved in the operation?