Skip to content

Latest commit

 

History

History
22 lines (7 loc) · 427 Bytes

File metadata and controls

22 lines (7 loc) · 427 Bytes

Java FX Montecarlo Simulation with MVC Pattern

The circle number π (= 3, 14159265...) can be determined by placing the cursor inside a rectangle in the there's a circle, randomly generating points. Some are inside the circle, some outside. Pi can then be calculated by the ratio of the total number of points to the points within the circle.

Example

  • Thread support