The Mixed Mathematical Sciences: Optics and Mechanics in the Islamic Middle Ages