Trigonometry with Applications