using System; using System.Collections.Generic; using System.Linq; using System.Text; using V = Science.Mathematics.VectorCalculus; namespace VectorCalculus5Ed.Chapter2.Section1 { public class Example01 { public Example01() { } private string result; public string Result { get{return result;} } public void Compute() { Science.Mathematics.Function.ToLastType f = new Science.Mathematics.Function.ToLastType(ff); for(int i = 1; i < 3; i++) result += (f(0.1, 0.1*i)).ToString() + "\r\n"; } private double ff(double T, double lambda) { return 2.0/Math.Pow(lambda,5.0)/(Math.Exp(3.0/lambda/T)-1.0); } } } // 0.744799938153413