Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

Pi from agent border crossings by NetLogo package
Author

Ervin Wirth
Organization: Budapest University of Technology and Economics
Department: Photogrammetry and Geoinformatics
Revision date

2015-11-16
Description

In this tutorial I will guide you through a novel way of calculating the perimeter (or even the surface) of formations by an integrated model with logical agents. The logical agents are wandering (as random walking) around the world, which their movements follows a uniform distribution of rotations. They registrate the land cover changes under their feet to a common sum, that I consider as a Monte Carlo integral. By simulating the walking for a longer period, I can discover that the model converges from stochastic to a deterministic one. This can be proven by the rerunning of algorithm more times, and plot the results. The plots and test are convince us about the normal distribution of the results. Finally with high parameter setups I can approximate well the value of Pi.
Subjects

*Applied Mathematics > Numerical Methods
*Applied Mathematics > Numerical Methods > Approximation Theory
*Mathematics > Discrete Mathematics
*Wolfram Technology > Linking Technology > J/Link
Keywords

logical agents, perimeter, pi, monte carlo method, netlogo, agent-based modelling, random walking, uniform distribution, normal distribution, torus, simulation, stochastic, deterministic
Downloads Download Wolfram CDF Player

Download
1.asc (469.6 KB) - ASCII file
Download
2.asc (469.6 KB) - ASCII file
Download
ABM.pdf (203.8 KB) - PDF Document
Download
1.prj (372 B) - Unknown MIME type
Download
2.prj (372 B) - Unknown MIME type
Download
ABM.nb (970.5 KB) - Mathematica Notebook
Download
Introduction.nlogo (12.4 KB) - Unknown MIME type