Modern algebra and trigonometry