From the Calculus to Set Theory 1630-1910