what exactly does a cos do?
I haven't got a lot of experience in trigonometry but...
Cosine=Cos
Cos = The adjacent side / hypotenuse