In which of the following states of matter do the molecules vibrate about their mean…