A molecular dynamical study of the equation of state of solids at high temperature and pressure