using System; using L=Science.Physics.GeneralPhysics; namespace Serway.Chapter28 { /// /// Example04: Find the Equivalent Resistance /// Four resistors are connected as shown in Figure 28.9a. /// (A) /// Find the equivalent resistance between points a and c. /// (B) /// What is the current in each resistor if a potential /// difference of 42 V is maintained between a and c. /// public class Example04 { public Example04() { } private string result; public string Result { get{return result;} } public void Compute() { L.Resistance R1 = new L.Resistance(); R1.Ohm = 8.0; L.Resistance R2 = new L.Resistance(); R2.Ohm = 4.0; L.Resistance R3 = new L.Resistance(); R3.Ohm = 6.0; L.Resistance R4 = new L.Resistance(); R4.Ohm = 3.0; L.Resistance R5 = L.Resistance.Series(R1,R2); L.Resistance R6 = L.Resistance.Parallel(R3,R4); L.Resistance Rsum = L.Resistance.Series(R5,R6); result+=Rsum.ToString()+"\r\n"; } } } //14 +/- 0 (Ohm)