Open oliver-phet opened 7 years ago
@oliver-phet Did the user include some sort of screen-shot with this report? I can't reproduce the issue they are reporting.
Sorry, here's the screenshot!
I was able to recreate this behavior. Need to check into why a n=6 to n=5 transition results in an emission of a photon at 780 nm rather than at 7460 nm.
Un-deferring, since development on this sim has resumed.
Note to self, for future investigation...
de Broglie, Schrodinger, and Bohr all use the same transition wavelengths. The Java implementation lives in BohrModel.js, and has not been ported to TypeScript yet. The transition wavelengths are computed by this method:
/**
* Gets the transition wavelengths for a specified state.
* @param state
* @return double[]
*/
public double[] getTransitionWavelengths( int state ) {
I'm not sure why the photon wavelength would be correct for Bohr, but incorrect for de Broglie. DeBroglieModel extends BohrModel
and there nothing in DeBroglieModel.java that overrides the Bohr behavior.
Transition wavelengths used to label the light's wavelength slider are computed by this method:
/**
* Gets the set of wavelengths that cause a state transition.
* When firing white light, the gun prefers to firing these wavelengths
* so that the probability of seeing a photon absorbed is higher.
*
* @param minWavelength
* @param maxWavelength
* @return double[]
*/
public static double[] getTransitionWavelengths( double minWavelength, double maxWavelength ) {
Note that the Java versions shows the correct wavelength (7460 nm) for n=6 to n=5 transition, see Help > Transitions dialog below.
If there is a bug, it's also not clear whether there's a problem with emissions only (n=6 → n=5) or also with absorption (n=5 → n=6).