// CoinExample4.java // // #flips needed for first heads public class CoinExample4 { public static void main (String[] argv) { // "Large" # trials. double numTrials = 1000000; Coin coin = new Coin (0.1); // Pr[heads]=0.1 for (int t=0; t