Question: Write code to calculate the probability of accepting a Monte Carlo move for energies ranging from - 2 to 2 for T = 0 .
Write code to calculate the probability of accepting a Monte Carlo move for energies ranging from to for T T and T What is the effect of temperature on the probability of a MC move being accepted? Does this make sense based on your intuition or from what you know about thermodynamics? Why or why not? Create a plot showing your results. Note that you arent going to be able to use your function acceptorreject for this. You will have to take pacc out of it to make the plot.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
