a simple Java-FX Application which Simulate the Approximation of Pi https://nextn.xyz
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

427 B

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