solve x^2 = 21.5^2 + 30.2^2 - 2*21.5*30.2*cos(31)