- Write the Matlab code to simulate Hard Spheres fluid in the (N, V, T)-constant ensemble. Include the calculation of radial distribution function.

- Run the simulation for various values of the reduced density and find the corresponding g(r) graphs.

- Calculate the pressure for various values of the reduced densities.

- Compare the values of pressure with the values from the Carnahan-Starling equation of state.

- Discuss the results.

**Subject Chemistry Physical Chemistry**