You are given two sides of a triangle, a = 3.5 and b = 5.2. the angle between them is 37 degrees. write a script to find the length of the third side and the area of the triangle.
Use the law of cosines side c² = a² + b² -2ab • cos(C) side c² = 3.5^2 + 5.2^2 -2*3.5*5.2* cos (37) side c² = 12.25 + 27.04 -(36.4 * .79864) side c² = 39.29 -29.070496
side c² = 10.22 c = 3.197