Ibn al-Haytham used controlled experiments in his work on optics, although to what extent it differed from Ptolemy is up to debate. Arabic mechanics like Bīrūnī and Al-Khazini developed sophisticated "science of weight", carrying out measurements of specific weights and volumes