![]() |
(8) |
![]() |
(9) |
The nuclear cusp condition (i.e. cancelling of the divergences in
the local energy
),
determines ro, which in
class was found to be ro = aB, the Bohr radius.
(i) The
electron-electron cusp condition puts a constraint on a and b,
and you should do the algebra necessary to determine this condition.
This requires obtaining an analytic expresssion for the ``local
kinetic energy.'' Provide this expression for the local kinetic
energy, which will have to coded also, in the material that
you hand in on Friday Oct 27.
Make the choice that was discussed in class for the other condition
that will determine the last constant
![]() |
(10) |
(ii) Determine how you want to take your steps through coordinate space. The ``walk'' should be unbiased, and the acceptance ratio should be adjustable until it is not far from 50%. State your choice of trial steps clearly.
(iii) Perform the random walk for 1000 steps, save the local energy E(R) at each step and the cumulative average, and plot them vs. the step number. Also, determine your acceptance ratio. Adjust the step size, then rerun, until the acceptance ratio of moves is reasonable. Discuss what you have learned: does your code seem to be working, is the energy reasonable, can you estimate how many steps might be required to get a good value of the energy....?