Analysis of the thermodynamic properties of polymer chains in solution using the Monte Carlo method