The queen researched an equation while explored a scientific breakthrough in the garden.