law of cosines is annoying so this will auto solve an entire triangle for you a²=b²+c²-2(b)(c)*cos(A) b²=a²+c²-2(a)(c)*cos(B) c²=b²+a²-2(b)(a)*cos(C)