2
Make sure that you use radians when you evaluate the cosine.