In this case the orbital energy of the 1s
state is
(0.1)
1.
Calculate the energy of the 1s orbital in equation 1.6
suggested Fortran codefor/ASS4_1.FOR I took the 1s orbital from for/plotsorbs.for
but made everything double precision.
The result was not quite as accurate as I hoped. Writing the file out and reading it back in
is not a very efficient way of keeping track of it. I works, but I am sure that you can do
better, however, …
2.
Use the Amoeba to fit the 1s orbital in equation 1.6 to
the form 
Note that the inefficient code in part 1 makes
a file that can be used in this part. My
solution is of the form for/FINDPSI.FOR. This
gives an answer that seems good
see
text box test2.out. But is it. I decide to plot the result


3.
Use
the amoeba to minimize the energy with respect to c1, c2,
c3, and c4.
4.
Use the amoeba to fit the 2s orbital in equation 1.7 to
the form
where the prime means j=1, 3, 5.
5.
Use the amoeba to minimize
with respect to the same constants as in #4
above.
6.
Repeat for
7.
Change the large r boundary condition to
for the 3S wave function.
8. Plot the energy of the 3S wave function as a function of rs for 2 < rs < 10.
Then integrate the first term by parts, note that in the strict r form, the boundary at zero is not zero at r=0, it is zero at x, y, z = +- infinity.
Now of course, I have simply re-derived the Schroedinger equation. We note however that solving it is equivalent to minimizing the energy for every possible value of c, and hence every parameterization of the wave function. More importantly, it has a zero everywhere. In particular let us minimize.
Very little in this life is free. Now we need to take a second derivative. Consider a function of r.
Now back to the expansion of f.
(2)
subtract
the sum plus
from
(3)