A textbook for pre-calc and calc students