using System; using System.Collections.Generic; using System.Linq; using System.Text; using V = Science.Mathematics.VectorCalculus; namespace VectorCalculus5Ed.Chapter2.Section4 { public class Example06 { public Example06() { } private string result; public string Result { get{return result;} } public void Compute() { Science.Mathematics.Function.ToLastType map = new Science.Mathematics.Function.ToLastType(func); V.Path p = new V.Path(map); V.TangentVector v = new V.TangentVector(p, Math.PI/2.0); v.Compute(); result += v.Result.ToString() + "\r\n"; } private double[] func(double t) { double[] r = new double[3]; r[0] = Math.Cos(t); r[1] = Math.Sin(t); r[2] = t; return r; } } } // (-1.00000000000007,0,0.99999999999998)