cosine function 10