Buffon’s Needle Algorithm to Estimate π

  • Hwang C
  • Kim Y
  • Im C
  • et al.
N/ACitations
Citations of this article
7Readers
Mendeley users who have this article in their library.

Abstract

Buffon’s needle experiment was originally devised to get the value of . With the advent of computers, Buffon’s needle algorithm has been used pedagogically as an example of Monte Carlo methods in introduction classes, and there are many Buffon’s needle algorithm implementations available on the internet. However, for the calculation of , the exact value of is used in the programs for Buffon’s needle angle sampling, and hence the example is not demonstrated correctly. This brief note presents a random angle sampling algorithm for the Buffon’s needle. We then compare the Buffon’s needle and Hit-and-Miss integration algorithms using Monte Carlo laboriousness comparison, and find that the Hit-and-Miss algorithm is superior.

Cite

CITATION STYLE

APA

Hwang, C.-O., Kim, Y., Im, C., & Lee, S. (2017). Buffon’s Needle Algorithm to Estimate π. Applied Mathematics, 08(03), 275–279. https://doi.org/10.4236/am.2017.83022

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free