// CoinExample3.java // // Estimate Pr[X=k] for 3-coin-flip example. public class CoinExample3 { public static void main (String[] argv) { // "Large" # trials. double numTrials = 1000000; Coin coin = new Coin (0.6); // Pr[heads]=0.6 for (int t=0; t