Skip to main content

bohr_orbit_radius

Function bohr_orbit_radius 

Source
pub fn bohr_orbit_radius(n: u32) -> Option<f64>
Expand description

Computes the hydrogen-like Bohr orbit radius for Z = 1 using r_n = a0 * n^2.

Returns None when n == 0 or when the computed result is not finite.