using System; using System.Collections.Generic; using S = Science.Statistics.BasicStatistics; namespace ScienceTest.StatisticsTest.BasicStatisticsTest { public class NormalCurveTest { public NormalCurveTest() { } private string result; public string Result { get{return result;} } public void Compute() { S.NormalCurve nc = new S.NormalCurve(); result += nc.ValueAt(1.0).ToString() + "\r\n"; result += nc.AreaBetween(-1.0, 1.0).ToString() + "\r\n"; result += nc.AreaBetween(-2.0, 2.0).ToString() + "\r\n"; result += nc.AreaBetween(-3.0, 3.0).ToString(); } } } /* 24.1970724519143 68.2689492137439 95.4499736104393 99.7300203937015 */