Mathematical Elaboration of Physics in the 18th Century