Skip to content

Pi approximations calculated using infinite series and Monte Carlo methods

License

Notifications You must be signed in to change notification settings

chicolucio/pi-approximations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

author MIT license contributions welcome Heroku Streamlit

Pi approximations calculated using infinite series and Monte Carlo methods

banner

Interactive web app:

streamlit app badge

Installation and usage

  1. clone the repo
  2. create a virtual environment
  3. activate the virtual environment
  4. install dependencies with requirements.txt
  5. use the code and/or run a local Streamlit app
git clone git@github.com:chicolucio/pi-approximations.git
cd pi-approximations
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
streamlit run Home.py

These are the Python packages under the hood:

NumPy Matplotlib Plotly Streamlit

The web app is hosted on Heroku

Contributing

All contributions are welcome.

Issues

Feel free to submit issues regarding:

  • recommendations
  • more interactive visualizations
  • enhancement requests and new useful features
  • code bugs

Pull requests

  • before starting to work on your pull request, please submit an issue first
  • fork the repo
  • clone the project to your own machine
  • commit changes to your own branch
  • push your work back up to your fork
  • submit a pull request so that your changes can be reviewed

License

MIT, see LICENSE

Citing

If you use this project in a scientific publication or in classes, please consider citing as

F. L. S. Bustamante, Pi approximations, 2022 - Available at: https://github.com/chicolucio/pi-approximations

More