The Thomas-Fermi model is used to calculate the equation of state (EOS
) for nuclear as well as neutron matter. We apply the effective nucleo
n-nucleon interaction of Myers and Swiatecki which is velocity and den
sity dependent. The calculations cover a wide density range of interes
t in heavy-ion collisions and astrophysics. We explore the thermodynam
ical behaviour of symmetric nuclear matter and neutron matter at finit
e temperature as it results from our EOS. As an illustration, the maxi
mum stable mass of neutron star is calculated.