using System; using GP = Science.Physics.GeneralPhysics; namespace ScienceTest.PhysicsTest.GeneralPhysicsTest { /// /// CenterOfMassTest /// public class ChargeDensityTest { private string result; public string Result { get{return result;} } public ChargeDensityTest() { } public void Compute() { GP.ElectricCharge q = new GP.ElectricCharge(); q.C = 10.0; GP.Volume v = new GP.Volume(); v.mCUBE = 3.0; GP.ChargeDensity rho = new GP.ChargeDensity(q, v); result += Convert.ToString(rho.CPERmCUBE) + " "; } } } // 3.33333333333333