The cosine rule in triangle ABC with sides a opposite to angle A, b opposite to angle B, and c opposite to angle C is

From the given figure we can see triangle ABC with

Since angle C is the angle between sides a and b
Then we can use the cosine rule to find the length of the side c
The name of side c in triangle ABC is the side AB
Then we can use the cosine rule to find side AB
AB. Yes