RCOS (trigonometric function)