Skip to content

Latest commit

History

History
52 lines (36 loc) 路 1.65 KB

quantum.rst

File metadata and controls

52 lines (36 loc) 路 1.65 KB

Quantum Mechanics

Electromagnetic Waves

Makes a Wave object given either wavelength (in meters), frequency (in Hz), or energy (in J per photon), and calculates the aforementioned values.

param kwargs

The value of the known variable (wavelength=, frequency=, or energy=)

Determine the wavelength, frequency, and energy of a wave with frequency 2e+17 Hz:

>>> from chemlib import Wave >>> w = Wave(frequency=2e+17) >>> w.properties {'wavelength': 1.499e-09, 'frequency': 2e+17, 'energy': 1.325e-16}

Determine the wavelength, frequency, and energy of a wave with wavelength 3e-9 m:

>>> w = Wave(wavelength=3e-9) >>> w.properties {'wavelength': 3e-09, 'frequency': 9.993e+16, 'energy': 6.622e-17}

Determine the wavelength, frequency, and energy of a wave with energy 3e-15 Joules per particle:

>>> from chemlib import Wave >>> w = Wave(energy=3e-15) >>> w.properties {'wavelength': 4.387e-44, 'frequency': 4.528e+18, 'energy': 3e-15}

chemlib.quantum_mechanics.Wave.properties

chemlib.quantum_mechanics.Wave.wavelength

chemlib.quantum_mechanics.Wave.frequency

chemlib.quantum_mechanics.Wave.energy

Electrons and Orbitals

Gets the energy of an electron in the nth orbital of the Hydrogen atom in Joules.

>>> from chemlib import energy_of_hydrogen_orbital >>> energy_of_hydrogen_orbital(3) -2.4221749394666667e-19