SlideShare une entreprise Scribd logo
1  sur  8
BUFFON’S NEEDLE &
                    Jason Yu – 6 th
 THE MONTE CARLO    03/10/2012

          METHOD
MONTE CARLO METHOD

There are usually several characteristics of the Monte Carlo
method:
   Define a domain of possible inputs.
   Generate inputs randomly from probability distribution over the
    domain.
   Perform a deterministic computation on the inputs.
   Aggregate the results.



  An early version of the Monte Carlo method can be seen in the Buffon’s
  Needle Experiment.
MONTE CARLO METHOD – WHY PI?

 The Monte Carlo method is heavily intertwined with the
  process of estimating pi.
 Let’s consider a circle inscribed in a unit square. If the circle
  and square have rations of areas that is pi/ 4, the value of pi
  can be approximated by using steps in the Monte Carlo
  method:
   Draw a square on the ground, then inscribe a circle within it.
   Uniformly scatter some objects of uniform size over the square.
   Count the number of objects inside the circle and the total # of
    objects.
   Lastly, the ration of the two counts will be an estimate of the ratio of
    the two areas, which is pi/4. Multiply the result by 4 and you should
    receive an estimate for pi.
GEORGE-
LOUIS
LECLERC
The pioneer of
t h e B u f fo n
Needle
ex p e r i me n t .
BUFFON’S NEEDLE – THE QUESTION

 In the 18 th Century, a French naturalist and renowned
  mathematician, George -Louis Leclerc, the Comte de
  Buf fon, proposed a question that states:



     “Suppose we have a floor made of parallel strips of wood, each the
     same width, and we drop a needle onto the floor. What is the
     probability that the needle will lie across a line between two strips?”
BUFFON’S NEEDLE – THE EXPERIMENT

 Buf fon’s needle, the earliest problem in geometric probability
  to be solved, can be solved using integral geometry.

 In the experiment, we are trying to find probability, which can
  be rearranged as



 So if we can derive an equation to find probability, we can
  likewise determine a rough estimate for pi.
BUFFON’S NEEDLE – THE MATH

 If we drop n needles and find that h of those needles are
  crossing lines, we can determine that P is approximated by
  the fraction h/n.

 Therefore, we can derive the formula:
BUFFON’S NEEDLE – WHY PI?

 In 1901 Italian mathematician Mario Lazzarini performed the
  Buffon’s needle experiment and concluded, after tossing a
  needle 3408 times, that the estimate for pi was 355/113.

 This value is extremely accurate and differs from the actual
  value of pi by no more than 3E-7.

 However, there is some controversy surrounding this experiment
  as it would be rather easy to manipulate the results by simply
  repeating the process.

 For example, if one drops 213 needles and happens to get 113
  successes, then one can report an estimate of pi accurate to six
  decimal places. However, if this doesn’t work, one can still
  perform 213 more trials and hope for 226 successes.

Contenu connexe

Tendances

The Pythagoras Theorem
The Pythagoras TheoremThe Pythagoras Theorem
The Pythagoras TheoremHome
 
The Pythagorean Theorem Lesson
The Pythagorean Theorem LessonThe Pythagorean Theorem Lesson
The Pythagorean Theorem LessonProjectImpact
 
The Pythagorean Theorem
The Pythagorean TheoremThe Pythagorean Theorem
The Pythagorean TheoremFidelfo Moral
 
Pythagoras theorem
Pythagoras theoremPythagoras theorem
Pythagoras theoremsubinita
 
Pythagoras’ Theorem
Pythagoras’ TheoremPythagoras’ Theorem
Pythagoras’ Theoremictsmkmn
 
The Pythagorean Theorem
The Pythagorean TheoremThe Pythagorean Theorem
The Pythagorean Theoremblue
 
Application of Pi
Application of PiApplication of Pi
Application of Pimonil shah
 
Finding value of pie and pythagorus and cryptography
Finding value of pie and pythagorus and cryptographyFinding value of pie and pythagorus and cryptography
Finding value of pie and pythagorus and cryptographyprashant chelani
 
Pythagoras And The Pythagorean Theorem
Pythagoras And The Pythagorean TheoremPythagoras And The Pythagorean Theorem
Pythagoras And The Pythagorean Theoremacavis
 
Pythagoras theorem
Pythagoras theoremPythagoras theorem
Pythagoras theoremKunal Yadav
 
Herons Formula
Herons FormulaHerons Formula
Herons Formulaasv9
 

Tendances (20)

Pythagoras therom
Pythagoras theromPythagoras therom
Pythagoras therom
 
History of pi
History of piHistory of pi
History of pi
 
The Pythagoras Theorem
The Pythagoras TheoremThe Pythagoras Theorem
The Pythagoras Theorem
 
The Pythagorean Theorem Lesson
The Pythagorean Theorem LessonThe Pythagorean Theorem Lesson
The Pythagorean Theorem Lesson
 
The Pythagorean Theorem
The Pythagorean TheoremThe Pythagorean Theorem
The Pythagorean Theorem
 
Pythagoras theorem
Pythagoras theoremPythagoras theorem
Pythagoras theorem
 
Pythagoras’ Theorem
Pythagoras’ TheoremPythagoras’ Theorem
Pythagoras’ Theorem
 
The Pythagorean Theorem
The Pythagorean TheoremThe Pythagorean Theorem
The Pythagorean Theorem
 
Application of Pi
Application of PiApplication of Pi
Application of Pi
 
Lar calc10 ch04_sec6
Lar calc10 ch04_sec6Lar calc10 ch04_sec6
Lar calc10 ch04_sec6
 
Calc 4.2b
Calc 4.2bCalc 4.2b
Calc 4.2b
 
Finding value of pie and pythagorus and cryptography
Finding value of pie and pythagorus and cryptographyFinding value of pie and pythagorus and cryptography
Finding value of pie and pythagorus and cryptography
 
Heron’s formula
Heron’s   formulaHeron’s   formula
Heron’s formula
 
Pythagoras And The Pythagorean Theorem
Pythagoras And The Pythagorean TheoremPythagoras And The Pythagorean Theorem
Pythagoras And The Pythagorean Theorem
 
Maths herons formula
Maths   herons formulaMaths   herons formula
Maths herons formula
 
J9 b06dbd
J9 b06dbdJ9 b06dbd
J9 b06dbd
 
Pythagoras theorem
Pythagoras theoremPythagoras theorem
Pythagoras theorem
 
Nsm ppt.ppt
Nsm ppt.pptNsm ppt.ppt
Nsm ppt.ppt
 
Herons Formula
Herons FormulaHerons Formula
Herons Formula
 
Heron’s formula
Heron’s formulaHeron’s formula
Heron’s formula
 

En vedette

Buffon\'s needle: fun and fundamentals
Buffon\'s needle: fun and fundamentalsBuffon\'s needle: fun and fundamentals
Buffon\'s needle: fun and fundamentalscypztm
 
The monte carlo method
The monte carlo methodThe monte carlo method
The monte carlo methodSaurabh Sood
 
#NoEstimates project planning using Monte Carlo simulation
#NoEstimates project planning using Monte Carlo simulation#NoEstimates project planning using Monte Carlo simulation
#NoEstimates project planning using Monte Carlo simulationDimitar Bakardzhiev
 
Applying Monte Carlo Simulation to Microsoft Project Schedules
Applying Monte Carlo Simulation to Microsoft Project SchedulesApplying Monte Carlo Simulation to Microsoft Project Schedules
Applying Monte Carlo Simulation to Microsoft Project Schedulesjimparkpmp
 
Monte Carlo Simulation
Monte Carlo SimulationMonte Carlo Simulation
Monte Carlo SimulationAguinaldo Flor
 
Monte carlo simulation
Monte carlo simulationMonte carlo simulation
Monte carlo simulationMissAnam
 
Improving Forecasts with Monte Carlo Simulations
Improving Forecasts with Monte Carlo Simulations  Improving Forecasts with Monte Carlo Simulations
Improving Forecasts with Monte Carlo Simulations Michael Wallace
 
Monte Carlo Simulations
Monte Carlo SimulationsMonte Carlo Simulations
Monte Carlo Simulationsgfbreaux
 
Monte carlo simulation
Monte carlo simulationMonte carlo simulation
Monte carlo simulationRajesh Piryani
 
High Dimensional Quasi Monte Carlo Method in Finance
High Dimensional Quasi Monte Carlo Method in FinanceHigh Dimensional Quasi Monte Carlo Method in Finance
High Dimensional Quasi Monte Carlo Method in FinanceMarco Bianchetti
 

En vedette (15)

Buffon\'s needle: fun and fundamentals
Buffon\'s needle: fun and fundamentalsBuffon\'s needle: fun and fundamentals
Buffon\'s needle: fun and fundamentals
 
Buffon's needle exercises
Buffon's needle exercisesBuffon's needle exercises
Buffon's needle exercises
 
The monte carlo method
The monte carlo methodThe monte carlo method
The monte carlo method
 
Monte carlo simulation
Monte carlo simulationMonte carlo simulation
Monte carlo simulation
 
Monte carlo
Monte carloMonte carlo
Monte carlo
 
#NoEstimates project planning using Monte Carlo simulation
#NoEstimates project planning using Monte Carlo simulation#NoEstimates project planning using Monte Carlo simulation
#NoEstimates project planning using Monte Carlo simulation
 
Applying Monte Carlo Simulation to Microsoft Project Schedules
Applying Monte Carlo Simulation to Microsoft Project SchedulesApplying Monte Carlo Simulation to Microsoft Project Schedules
Applying Monte Carlo Simulation to Microsoft Project Schedules
 
Monte Carlo Simulation
Monte Carlo SimulationMonte Carlo Simulation
Monte Carlo Simulation
 
Monte carlo simulation
Monte carlo simulationMonte carlo simulation
Monte carlo simulation
 
Improving Forecasts with Monte Carlo Simulations
Improving Forecasts with Monte Carlo Simulations  Improving Forecasts with Monte Carlo Simulations
Improving Forecasts with Monte Carlo Simulations
 
Monte Carlo Simulations
Monte Carlo SimulationsMonte Carlo Simulations
Monte Carlo Simulations
 
Monte carlo simulation
Monte carlo simulationMonte carlo simulation
Monte carlo simulation
 
How to perform a Monte Carlo simulation
How to perform a Monte Carlo simulation How to perform a Monte Carlo simulation
How to perform a Monte Carlo simulation
 
Pi Ppt
Pi PptPi Ppt
Pi Ppt
 
High Dimensional Quasi Monte Carlo Method in Finance
High Dimensional Quasi Monte Carlo Method in FinanceHigh Dimensional Quasi Monte Carlo Method in Finance
High Dimensional Quasi Monte Carlo Method in Finance
 

Plus de ihatetheses

Pi Day Circle Jeopardy!
Pi Day Circle Jeopardy!Pi Day Circle Jeopardy!
Pi Day Circle Jeopardy!ihatetheses
 
Real World Application of Trigonometry
Real World Application of TrigonometryReal World Application of Trigonometry
Real World Application of Trigonometryihatetheses
 

Plus de ihatetheses (6)

Justin Amash
Justin AmashJustin Amash
Justin Amash
 
Tetoffensive
TetoffensiveTetoffensive
Tetoffensive
 
Pi Day Circle Jeopardy!
Pi Day Circle Jeopardy!Pi Day Circle Jeopardy!
Pi Day Circle Jeopardy!
 
Stephen glass
Stephen glassStephen glass
Stephen glass
 
Sine Facebook
Sine FacebookSine Facebook
Sine Facebook
 
Real World Application of Trigonometry
Real World Application of TrigonometryReal World Application of Trigonometry
Real World Application of Trigonometry
 

Dernier

FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 

Dernier (20)

FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 

Buffon Needle and the Monte Carlo Method

  • 1. BUFFON’S NEEDLE & Jason Yu – 6 th THE MONTE CARLO 03/10/2012 METHOD
  • 2. MONTE CARLO METHOD There are usually several characteristics of the Monte Carlo method:  Define a domain of possible inputs.  Generate inputs randomly from probability distribution over the domain.  Perform a deterministic computation on the inputs.  Aggregate the results. An early version of the Monte Carlo method can be seen in the Buffon’s Needle Experiment.
  • 3. MONTE CARLO METHOD – WHY PI?  The Monte Carlo method is heavily intertwined with the process of estimating pi.  Let’s consider a circle inscribed in a unit square. If the circle and square have rations of areas that is pi/ 4, the value of pi can be approximated by using steps in the Monte Carlo method:  Draw a square on the ground, then inscribe a circle within it.  Uniformly scatter some objects of uniform size over the square.  Count the number of objects inside the circle and the total # of objects.  Lastly, the ration of the two counts will be an estimate of the ratio of the two areas, which is pi/4. Multiply the result by 4 and you should receive an estimate for pi.
  • 4. GEORGE- LOUIS LECLERC The pioneer of t h e B u f fo n Needle ex p e r i me n t .
  • 5. BUFFON’S NEEDLE – THE QUESTION  In the 18 th Century, a French naturalist and renowned mathematician, George -Louis Leclerc, the Comte de Buf fon, proposed a question that states: “Suppose we have a floor made of parallel strips of wood, each the same width, and we drop a needle onto the floor. What is the probability that the needle will lie across a line between two strips?”
  • 6. BUFFON’S NEEDLE – THE EXPERIMENT  Buf fon’s needle, the earliest problem in geometric probability to be solved, can be solved using integral geometry.  In the experiment, we are trying to find probability, which can be rearranged as  So if we can derive an equation to find probability, we can likewise determine a rough estimate for pi.
  • 7. BUFFON’S NEEDLE – THE MATH  If we drop n needles and find that h of those needles are crossing lines, we can determine that P is approximated by the fraction h/n.  Therefore, we can derive the formula:
  • 8. BUFFON’S NEEDLE – WHY PI?  In 1901 Italian mathematician Mario Lazzarini performed the Buffon’s needle experiment and concluded, after tossing a needle 3408 times, that the estimate for pi was 355/113.  This value is extremely accurate and differs from the actual value of pi by no more than 3E-7.  However, there is some controversy surrounding this experiment as it would be rather easy to manipulate the results by simply repeating the process.  For example, if one drops 213 needles and happens to get 113 successes, then one can report an estimate of pi accurate to six decimal places. However, if this doesn’t work, one can still perform 213 more trials and hope for 226 successes.