using System; using System.Collections.Generic; using System.Linq; using System.Text; using V = Science.Mathematics.VectorCalculus; namespace VectorCalculus5Ed.Chapter1.Section1 { public class Example03 { public Example03() { } private string result; public string Result { get{return result;} } public void Compute() { V.Vector v = new V.Vector(2); v[0] = 1.0; v[1] = 2.0; V.Vector v2 = new V.Vector(2); v2[0] = 0.0; v2[1] = 2.0; V.Vector v3 = 2.0 * v + v2; result += v3.ToString(); } } } // (2,6)