Introduction to calculus and analytic geometry