using System; using System.Collections.Generic; using System.Linq; using System.Text; using V = Science.Mathematics.VectorCalculus; namespace VectorCalculus5Ed.Chapter1.Section3 { public class Example04 { public Example04() { } private string result; public string Result { get{return result;} } public void Compute() { V.Vector a = 3.0*V.UnitVector.i - V.UnitVector.j + V.UnitVector.k; V.Vector b = V.UnitVector.i + 2.0*V.UnitVector.j - V.UnitVector.k; V.Vector c = a % b; result += c[0].ToString() + " " + c[1].ToString() + " " + c[2].ToString() + "\r\n"; } } } // -1 4 7