how to get cos+sin?
I has to be cos of an angle + sine of an angle so your question makes no sense what-so-ever!
Can you make the question more specific?