using System; using L=Science.Physics.GeneralPhysics; namespace Serway.Chapter42 { /// /// Example03: The n = 2 Level of Hydrogen /// For a hydrogen atom, determine the number of /// allowed states corresponding to the principal quantum /// number n = 2, and calculate the energies of these states. /// public class Example03 { public Example03() { } private string result; public string Result { get{return result;} } public void Compute() { L.Hydrogen H = new L.Hydrogen(); H.PrincipalQuantumNumber = 2; result+=Convert.ToString(H.HydrogenEnergyElectronVolt)+"\r\n"; } } } //-3.4015