Determination of the finite temperature equation of state of dense matter