- This program estimates the area under the function f(x) = x^2 by throwing darts at the unit square and counting the proportion of these darts that fall under the curve. You specify the number of "Random points."


The source.
MCSquareGraph.java