Investigation of hot dilute and hot compressed nuclear matter