College Algebra and trigonometry with applications