fried trigonometric functions