artificialpicasso.mathutils.cosine_law_find_angle#

artificialpicasso.mathutils.cosine_law_find_angle(a, b, c)[source]#

Given 3 side lengths of a triangle, find the angle opposite to one of the sides (side c).

Parameters:
  • a (float) – First side length of a traingle

  • b (float) – Second side length of a triangle

  • c (float) – Third side length of a triangle

Returns:

The angle opposite to c, in degrees.

Return type:

float