What are the main trigonometric functions and how are they defined?