using trigonometric identities in real-life applications