public class EstimationExample { public static void main (String[] argv) { double numTrials = 100000; double total = 0; for (int n=0; n