Cosine rule, other sides
b^{2} = a^{2} + c^{2} - 2a c \cos B;\, c^{2} = a^{2} + b^{2} - 2a b \cos C
LaTeX
b^{2} = a^{2} + c^{2} - 2a c \cos B;\, c^{2} = a^{2} + b^{2} - 2a b \cos C
Plain text
b² = a² + c² − 2ac cos B; c² = a² + b² − 2ab cos C
Read the topic: Trigonometry: complete formula guide