Mathematician, physicist and philosopher whose work advanced probability, fluid mechanics and mechanical calculation.