martinsw01 / vitber-bio

0 stars 0 forks source link

2 d) Monte Carlo simulation with polymers #13

Closed martinsw01 closed 2 years ago

martinsw01 commented 2 years ago

Implement Algorithm 2 and use it to run a Monte Carlo simulation of a system with L > 10, 2 < M < 6, T = 200 K. Choose N freely, and use the rigid move from 2c) (#12) to move the polymers. Include a figure of the grid after 30 000 MC steps. Comment on why the system looks the way it does. Explain, using both quantitative results from your simulation and from an “algorithmic” point of view, how and why the run time requirements have changed in comparison with the monomer-systems you studied in exercise 1). Tip: It might be convenient to have the function that moves the polymers as an optional argument to the Monte Carlo function. In this way, you can reuse your MC function when you introduce new move functions.