Calculus and analytic geometry 1