using System; using GP = Science.Physics.GeneralPhysics; namespace ScienceTest.PhysicsTest.GeneralPhysicsTest { /// /// Resistance /// public class ResistanceTest { private string result; public string Result { get{return result;} } public ResistanceTest() { } public void Compute() { GP.Resistance R = new GP.Resistance(); R.Ohm = 10; GP.Resistance R2 = new GP.Resistance(); R2.Ohm = 10; GP.Resistance RR = GP.Resistance.Parallel(R, R2); result += RR.ToString() + "\r\n"; } } } // 5 +/- 0 (Ohm)