fbpx
Search
Close this search box.

Calculate Pi by throwing Frozen Hotdogs !

Share

Facebook
Twitter
LinkedIn

Did you know you can Calculate Pi by throwing Frozen Hotdogs !

Neither did I until recently.

But better than that is that you don’t need to go to the freezer to get the Hotdogs, you can do it all in Excel.

I recently wrote a post detailing how to develop a model to calculate Pi by simulating throwing hotdogs using Excel.

Hotdog

You can read about the Excel techniques used to make this simulation here: http://www.excelhero.com/blog/2014/11/calculate-pi-by-throwing-hotdogs.html

 

 

 

 

 

Facebook
Twitter
LinkedIn

Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Overall I learned a lot and I thought you did a great job of explaining how to do things. This will definitely elevate my reporting in the future.
Rebekah S
Reporting Analyst
Excel formula list - 100+ examples and howto guide for you

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Advanced Pivot Table tricks

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

5 Responses to “Calculate Pi by throwing Frozen Hotdogs !”

  1. Derk says:

    Well done! Thank you for both an interesting workbook and the accompanying explanation at the linked site.

  2. joseph says:

    this is so cool, thanks for sharing

  3. […] To mark the occasion I have set up a spreadsheet to calculate pi by drawing random lines, based on blog posts by Excel Hero and Hui at Chandoo.org […]

  4. Johannes says:

    The animation above shows dynamic charts for Pi Estimate, Variance from Pi, and Throw Status. However, in the Excel sheet these charts are not dynamically updated. The data of these three charts is shown at the end of the simulation.

    How can I create dynamic charts?
    Many thanks for the answer.

    • Hui... says:

      @Johannes

      That is a great pickup

      There has been a change in the Excel/VBA that isn't allowing a redraw of the chart between calculations.

      It definitely works up to Excel 2016, but isn't in 2019 or Excel 365

      I'll investigate and update if I find a solution

      Hui...

Leave a Reply