using System; using L=Science.Physics.GeneralPhysics; namespace Serway.Chapter11 { /// /// Example02: The Torque Vector /// A force of F = (2.00i + 3.00j) N is applied /// to an object that is pivoted about a fixed axis aligned /// along the z coordinate axis. If the force is applied /// at a point located at r = (4.00i + 5.00j) m, find the /// torque vector tau. /// public class Example02 { public Example02() { } private string result; public string Result { get{return result;} } public void Compute() { L.Force f = new L.Force(); f.X = 2.0; f.Y = 3.0; L.Position r = new L.Position(); r.X = 4.0; r.Y = 5.0; L.Torque tau = new L.Torque(r,f); result = tau.ToString(); } } } //0 +/- 0 i +0 +/- 0 j +2 +/- 0 k (Nm)