Simulation Average, Variance and Higher Moments vs. their exact values This is a simulation of Quicksort on random lists of length, 200 using, 50000, randomly chosen sequence of that length The simulation average, followed by the theoretical average are, 1562.356000, 1562.968441 The simulation variance, followed by the theoretical variance are, 15259.46498, 15215.1095 The simulation scaled, 3, -th moment followed by the theoretical value are, 0.9290686794, 0.9228494881 The simulation scaled, 4, -th moment followed by the theoretical value are, 4.315849620, 4.310027684 -------------------------- This took, 1320.132, seconds.