Trigonometric identities and equations