1. The problem statement, all variables and given/known data The generalization of the bohr rule to periodic motion more general than circular orbit states that: ∫p.dr = nh = 2∏nh(bar). the integral is a closed line integral and the bolded letters represent vectors. Using the generalized, show that the spectrum for the one-dimensional harmonic oscillator, for which E = p2/2m + mw2x2/2 is E = nh(bar)w. 2. Relevant equations 2∏x = nλ, px = nh(bar) 3. The attempt at a solution Basically I know how to get E = nh(bar)w for a harmonic oscillator without using integrals, but I'm confused as to how to express E as an integral which is what I assume they're asking for. I know that the total energy of the system when the spring is fully stretched is Etot = mw2x2/2. Do I somehow have to write this in terms of momentum and then integrate? I'm probably missing something fairly obvious here, but how would I write that in terms of P?