This computes and plots the probability density of any orbital of the hydrogen atom
Feel free to play around with the sample plots of the orbitals from 1s to 4f
Just download the .html file and open it with any browser
There is no limit on how high one can go, for example, it is totally possible to get the plot of n = 10, l = 7, m = 6.
The Funtions.jl contains the following functions
- Laguerre: generates Laguerre polynomial of required degree and order
- AssoLaguerre: computes the Associated Laguerre polynomial from Laguerre's output. It also computes the value of this Associated Laguerre polynomial for the given input
- Lagrande: generates Lagrande polynomial of required degree and order
- AssoLagrande: computes the Associated Lagrande polynomial from Lagrande's output. It also computes the value of this Associated Lagrande polynomial for the given input
- Radial: This computes the radial part of wave function calls AssoLagrnade
- Angular: This computes the angular part of wave function calls AssoLaguerre
- get_prob_density: This computes the probability density
|ψ|²at Cartesian coordinates for given quantum numbersn,l,m, for the radial distancer, polar angleθ, and azimuthal angleφ - plot_probs1: This plots the the probability densitys and gives a interractive
.htmlfile that has the 3D scatter plot
In this version, the code can not handle negative values for m, it can handle only non-negative values of m
Although the plots for m = +a and m = -a for some a are analogus to one another, I feel it is important to mention this limitation