D'Alembert and Euler on extending the empirical reach of mathematics