Enter oscillator quantum number n and frequency f; compute the energy E_n = ℏω(n+½), demonstrating equally spaced levels with zero-point energy, for molecular vibration and phonon analysis.
輸入能級 n 與頻率 f,求諧振子能量。