trigonometric aperations in c