Algebra and trigonometry