SMS: Calculus with analytic geomatry