Abu Ali al Hasan ibn al-Haytham also known in the West as Alhazen, was born in Basra, Iraq in the year 965 CE and received his education in Baghdad. Khalifa Hakim summand him to Egypt to work on a project to control the flood of the river Nile. After doing some field work he informed the Khalifa about the impracticality of the project. The mercurial Khalifa became mad at his assessment of the project and put him under house arrest for ten years. It is said that during this period he did a lot of work in optics, physics and mathematics. He became a free man when the Khalifa died in 1021 CE. He traveled to Spain and other places but came back to Cairo Egypt where he died in year 1039 CE.
Al-Haytham was a polymath who made significant contributions to the principles of optics, as well as to astronomy, engineering, mathematics, medicine, ophthalmology, philosophy, physics and theology. He is considered as the first scientist, a pioneer of the modern scientific method and the originator