using System; using L=Science.Physics.GeneralPhysics; namespace Serway.Chapter33 { /// /// Example02: A Purely Inductive AC Circuit /// In a purely inductive AC circuit (see Fig. 33.6), /// L = 25.0 mH and the rms voltage is 150 V. Calculate the /// inductive reactance and rms current in the circuit if /// the frequency is 60.0 Hz. /// public class Example02 { public Example02() { } private string result; public string Result { get{return result;} } public void Compute() { L.Frequency f = new L.Frequency(); f.Hz = 60.0; L.ElectricPotentialDifference V = new L.ElectricPotentialDifference(); V.V = 150.0; L.Inductance LL = new L.Inductance(); LL.H = 25.0E-3; double z = LL.Reactance(f); result+=z.ToString(); L.ElectricCurrent I = new L.ElectricCurrent(); I.A = V.V/z; result+=" "+I.ToString(); } } } //9.42477796076938 15.9154943091895 +/- 0 (A)