Skip to content

twentyone212121/montecarlosim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monte Carlo for computing area

This program can compute the area of a figure which have a function that returns true if a point is inside this figure, otherwise - false.

Available figures are a circle, a quad, a triangle, any polynomial, and any polygon.

How to use

Choose a figure from a list in the Examples menu. Then enter its parameters and change the boundaries if necessary. The computed area can be seen in the Area menu. You can change the number of dots to increase or decrease precision.

Dependencies

I am using SFML for graphics and ImGUI for a graphical interface.

Examples

image image image image image

About

Monte Carlo simulation for computing area of differenet figures with graphical interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors