Skip to content

Approximating PI number using the Monte Carlo Method + visualisation in C#, web version

Notifications You must be signed in to change notification settings

MaciejWanat/WebMonteCarloPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Approximating PI using Monte Carlo method in C#

This project is about appoximating the PI number using Monte Carlo method. If you dont know what that is, look here for some theory. The project should compile in Microsoft Visual Studio (I used 2017 version).

This is a Windows Form project; however, it uses console to communicate with a user, and the form is used only to display the graphic representation of calculations. After turning on, the program will ask you how many iterations should it do (how many points to draw), and how wide area should it use. You can observe how approximation gets more and more accurate when you increase area or number of points.

This is an online version of the application. It should be online at this address: http://montecarlopi.azurewebsites.net/

About

Approximating PI number using the Monte Carlo Method + visualisation in C#, web version

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published