Subprograms and Functions

In this exercise we shall calculate the radial distribution function (RDF) for ls, 2s and 2p orbitals, and then normalize the result so the maximum value of each RDF is one. The RDF is 4r2 times the square of the wavefunction. The wavefunctions themselves are given by:

We can divide the problem into a number of distinct steps:

To do this we shall take copy and edit the orbital program.

More Orbital calculations.

Recall a copy of the above exercise and make suitable additions to include the 3p and 3d orbitals.