Cos A 2 Formula In Triangle, Then the law of cosines states a^2 … Solving for the cosines yields the equivalent formulas .