Changes

Jump to: navigation, search

DPS915/CodeCookers

26 bytes removed, 19:37, 3 October 2014
no edit summary
During the execution, the program takes the number of iterations through the command line. It generates two random decimal numbers between 0 and 1 and determines if the randomly generated coordinates are inside in the circle. Then it calculates the size of PI. As we increase the number of iteration we are getting a more realistic value of PI.
[[File:| ]][[Image:output.jpg|thumb|800x600| ]] 
I created a screenshot from the first execution, the rest of the execution is summarized on the table and the chart below.

Navigation menu