Kernel: Python 3
Plot hydrogen wavefunctions
Code adapted from https://www.hasenkopf2000.net/wiki/page/3d-hydrogen-structure-python/
In [1]:
In [8]:
In [2]:
In [3]:
In [4]:
In [5]:
In [20]:
In [38]:
<ipython-input-2-ed742e276c7c>:2: RuntimeWarning: invalid value encountered in true_divide
theta = lambda x,y,z: numpy.arccos(z/r(x,y,z))
Text(0, 0.5, 'z')
In [ ]:
In [10]:
(105, 105)
In [16]:
[<matplotlib.lines.Line2D at 0x1e5f7f6e040>]
In [22]:
How much is the center of charge shifted in the superposition state?
In [34]:
-2.598076211353328
In [37]:
(60.74999999999998, 2.975832220691516e-08)
In [ ]: