using System; using System.Collections.Generic; using System.Linq; using System.Text; using S = Science.Statistics.BasicStatistics; namespace Statistics4Ed.Chapter05.SetB { public class Exercise01 { public Exercise01() { } private string result; public string Result { get{return result;} } public void Compute() { S.NormalCurve nc = new S.NormalCurve(); result += (50.0 - nc.AreaBetween(0.0,1.25)).ToString() + "\r\n"; result += (50.0 - nc.AreaBetween(-0.4, 0.0)).ToString() + "\r\n"; result += (50.0 + nc.AreaBetween(0.0,0.8)).ToString() + "\r\n"; result += nc.AreaBetween(0.4, 1.3).ToString() + "\r\n"; result += nc.AreaBetween(-0.3,0.9).ToString() + "\r\n"; result += (100.0 - nc.AreaBetween(-1.5, 1.5)).ToString() + "\r\n"; } } } /* 10.5649773666726 34.4578258389691 78.8144601416736 24.7777773804291 43.385129684236 13.3614402537295 */