Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 509 Bytes

File metadata and controls

15 lines (11 loc) · 509 Bytes

Buffon's Needle App

This is a GUI application for simulating Buffon's needle, using tkinter.

Requirements

  • Python3
  • Numpy

View

image1

Caution

  • I expect the length l of needles is the same as or smaller than the distance d between lines. So, if l is larger than d, the estimated value of π will be incorrect!
  • This app doesn't show the needle-falling animation.