|
ID: 13771, Buffon's Needles
|
Download
| Details
|
|
FTP
download also available
|
|
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
|
To download this, you must have registered:
|
For Delphi, Version 3.0
to 4.0
365 downloads
Copyright: Commercial use requires permission
Size: 158,351 bytes
Updated on Sat, 14 Aug 1999 00:00:00 GMT
Originally uploaded on Sat, 14 Aug 1999 00:00:00 GMT
SHA1 Hash: DF9617C2ADFFDF08D747E26B04247D51FAE400C3
MD5 Hash: FCD8890573116527D090AC90C0905E98
|
Explore the files in this upload
File Exploration is Disabled
We're sorry, but errors in the uploaded zip file prevent it from being explored.
The error generated by the Zip attachment is:
You may still be able to repair the zip file contents if you download the entire zip locally. You may also want to ask the author to repost the attachment.
|
Description
|
This project explores a Monte Carlo method of determining the value of pi, which was first discovered by Count Buffon in 1733.
Take a number of toothpicks and randomly throw them on a tablecloth, a hardwood floor, a brick sidewalk, or on anything that has a number of equally spaced parallel lines. The parallel lines must be at least as far apart as the length of a toothpick. Count the number of tosses and the number of toothpicks that cross the parallel lines. A simple formula can then be used to estimage pi. This project simulates this process.
For many additional details, including drawings and a detailed math description, see the "Lab Report" at
http://www.efg2.com/Lab/Mathematics/Buffon.htm
Keywords: pi, Monte Carlo method, Count Buffon, Random, Plural, TBitmap, TImage, Pixels, MoveTo, LineTo, FillRect, TextOut, TSimplePantograph, ShellExecute, Application.ProcessMessages, Cancel button, FormatFloat, ArcTan2, RGB, MessageBeep(MB_ICONEXCLAMATION), Procedure variable, Half-Angle Formula, Rotation Matrix
|
|

Server Response from: ETNACDC04
|
Connect with Us