using System; using L=Science.Physics.GeneralPhysics; namespace Serway.Chapter26 { /// /// Example01: Parallel-Plate Capacitor /// A parallel-plate capacitor with air between the plates /// has an area A = 2.00 \times 10^{-4} m^2 /// and a plate separation d = 1.00 mm. /// Find its capacitance. /// public class Example01 { public Example01() { } private string result; public string Result { get{return result;} } public void Compute() { L.Area A = new L.Area(); A.mSQUARE = 2.0E-4; L.Length d = new L.Length(); d.m = 1.0E-3; L.Capacitance C = new L.Capacitance(A,d); result += C.ToString(); } } } //1.7708375634E-12 +/- 0 (F)