Essentials of trigonometry