public class BallDropSimulatorExample { public static void main (String[] argv) { BallDropSimulator sim = new BallDropSimulator (); Function dist = new Function ("distance"); for (double t=1; t<=10; t+=1) { double d = sim.run (t, 1000); dist.add (t, d); } dist.show (); } }