1. Units, Constants and quick calculations¶
scipy.constants knows every physical constant (full list):
A scratchpad, seeded with a photon-energy calculation. Edit it and press play; the value of the last line is displayed:
2. Plotting panel¶
A ready-to-edit plotting template. Swap in any function of x; the slider is yours to repurpose:
3. Numerical integral¶
Define any function and limits in the pad; the plot shades area above the axis in green and below in red, and the value comes from np.trapezoid, the same tool your homework uses:
The green and red areas fight each other: an integral is a signed sum. For probability densities like the red never appears, which is exactly why they can be interpreted as probabilities.
4. Symbolic window¶
Derivatives, integrals, and equation solving with sympy; results render as typeset math. Each pad is editable:
5. Orbital visualizer¶
Pick quantum numbers (the menus only ever offer valid combinations). The first plot is a 2D cross-section of the orbital in the xz-plane, with blue and red marking the wavefunction’s positive and negative lobes. Below it, the radial view shows the radial function and the radial distribution , and reports the most probable radius, the mean radius , and the node count.
6. One-dimensional Schrödinger solver¶
Pick a potential and get its bound states instantly: energies as horizontal lines, wavefunctions drawn at their own energy (units: , hard walls at ). To see how the solver works inside, open the numerical Schrödinger lab.
Try the classics: the box gives the ladder, the harmonic well gives perfectly even spacing (the fingerprint of vibrations), the linear well spaces levels like Airy zeros, and the double well pairs levels into tunneling doublets. The square barrier does the same with sharp walls: it cuts the box into two halves that talk only by tunneling, so raise and watch each pair of levels squeeze together.
7. Tunneling through a square barrier¶
An electron with energy comes in from the left toward a barrier of height and width . Classically it bounces back whenever . Quantum mechanically the wave leaks in, decays as inside, and whatever amplitude reaches the far side carries on as a transmitted wave. The fraction that gets through is
For a thick barrier () this becomes , exponential in the width. Units here are eV and Å with the electron mass. The derivation is in the tunneling lecture.
Start below the barrier and widen it in steps of 1 Å: drops by roughly the same factor each step, and the log scale turns that exponential into a straight line. Then push above : the classical electron always passes, but the quantum one still reflects, and wiggles up to 1 only at the resonances. The same exponential is why a scanning tunneling microscope current changes about tenfold per ångström of tip height, and why a proton, 1836 times heavier than an electron, has a about 43 times larger and tunnels only through barriers a fraction of an ångström thick.
8. Quadratic equation solver¶
Every quadratic is solved by one formula:
The sign of the discriminant decides what comes out: two real crossings for , one repeated root for , and for a pair of complex conjugates that never touch the axis. Drag the coefficients and watch the roots leave the real line.
Start from the defaults and raise : the two crossings slide together, merge at , and then step off the real line as a mirror pair, real part shared and imaginary parts opposite. The curve stops touching the axis, but the number of roots never changes. That is the fundamental theorem of algebra in miniature: a degree polynomial has exactly complex roots. The background is in the complex numbers appendix.