using System; using System.Collections.Generic; using S = Science.Statistics.BasicStatistics; namespace ScienceTest.StatisticsTest.BasicStatisticsTest { public class CentralLimitTheoremTest { public CentralLimitTheoremTest() { } private string result; public string Result { get{return result;} } public void Compute() { S.BoxModel coin = new S.BoxModel(); coin.AddTicket(0.0, 1); coin.AddTicket(1.0, 1); coin.NumberOfDraws = 100; S.CentralLimitTheorem th = new S.CentralLimitTheorem(coin); result += th.AreaBetween(49.5, 50.5).ToString() + " "; result += th.AreaBetween(44.5, 55.5).ToString() + "\r\n"; } } } // 7.96556745540584 72.8667878107366