Quote:
what is time complexity of using trigonometric function like sin,cos. is they affect compiling time?
Your question is not complete or you misunderstood what is time complexity, because it make no sense.
There is no time complexity per se for trigonometric functions, or it is equal to 1.
SIN(1), SIN(2), SIN(100), SIN(2100) all take the same time ?
and the answer is the same for COS.
This does not mean that SIN or COS are simple by themselves.