what formula do you use when you have all three sides of a triangle and need to find an angle
You could use the cosine rule:
$$\cos A=\frac{b^2+c^2-a^2}{2bc}$$
where A is the angle opposite side of length a, and b and c are the lengths of the other two sides.
.