using System; using L=Science.Physics.GeneralPhysics; namespace Serway.Chapter43 { /// /// Example04: The Fermi Energy of Gold /// Each atom of gold (Au) contributes one free electron /// to the metal. Compute the Fermi energy for gold. /// public class Example04 { public Example04() { } private string result; public string Result { get{return result;} } public void Compute() { L.Solid Au = new L.Solid(); Au.ElectronConcentration = 5.9E28; Au.FindFermiEnergy(); double ef = Au.FermiEnergy/L.Constant.ElementaryCharge; result+=Convert.ToString(ef)+"\r\n"; } } } //5.5338654348604