According to the cosine rules, the length c of the side of a triangle is calculated. The two sides a and b and the angle beta between them are given.