Examples of trigonometric function calculations