Dynamic structure factor of liquid mercury