what is cosine
getting this off the web ...
the trigonometric function that is equal to the ratio of the side adjacent to an acute angle (in a right-angled triangle) to the hypotenuse.
https://www.mathsisfun.com/definitions/cosine.html - for more info
In a right triangle.......the cosine is the ratio of the length of the side adjacent to either acute angle to the length of the hypotenuse........