Web Images News Groups Scholar Blogs Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Variation of Buffon's Needle Problem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
AI  
View profile  
 More options Nov 2, 2:47 pm
Newsgroups: sci.math
From: AI <vcpan...@gmail.com>
Date: Mon, 2 Nov 2009 06:47:45 -0800 (PST)
Local: Mon, Nov 2 2009 2:47 pm
Subject: Variation of Buffon's Needle Problem
You may already know about Buffon's Needle Problem
http://mathworld.wolfram.com/BuffonsNeedleProblem.html

I am thinking about the following variation

Find the probability that a needle of length "l" will land on a
circle, given a floor with equally spaced Concentric circles at a
distance "d" apart?

Here is the drawing which I have made for my simulation
http://i233.photobucket.com/albums/ee201/vcpandya/NeedleProblem.jpg


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Cass  
View profile  
 More options Nov 2, 4:23 pm
Newsgroups: sci.math
From: Dan Cass <dc...@sjfc.edu>
Date: Mon, 02 Nov 2009 11:23:42 EST
Local: Mon, Nov 2 2009 4:23 pm
Subject: Re: Variation of Buffon's Needle Problem

> You may already know about Buffon's Needle Problem
> http://mathworld.wolfram.com/BuffonsNeedleProblem.html

> I am thinking about the following variation

> Find the probability that a needle of length "l" will
> land on a
> circle, given a floor with equally spaced Concentric
> circles at a
> distance "d" apart?

> Here is the drawing which I have made for my
> simulation
> http://i233.photobucket.com/albums/ee201/vcpandya/Need
> leProblem.jpg

So are the radii as suggested in your picture to be d,2d,3d,etc?
Seems like an interesting variation to me, but one problem I see is that of finiteness of a region.

If one takes the region as a square of sidelength N centered at (0,0) and then lets N->infinity,
the answer might differ from another choice of squares which are say of sidelength N with lower left corner at (0,0).


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sjoerd Job  
View profile  
 More options Nov 2, 5:29 pm
Newsgroups: sci.math
From: Sjoerd Job <sjoerd...@sjec.nl>
Date: 02 Nov 2009 17:29:04 GMT
Local: Mon, Nov 2 2009 5:29 pm
Subject: Re: Variation of Buffon's Needle Problem
On 2009-11-02, AI <vcpan...@gmail.com> wrote:

> You may already know about Buffon's Needle Problem
> http://mathworld.wolfram.com/BuffonsNeedleProblem.html

> I am thinking about the following variation

> Find the probability that a needle of length "l" will land on a
> circle, given a floor with equally spaced Concentric circles at a
> distance "d" apart?

> Here is the drawing which I have made for my simulation
> http://i233.photobucket.com/albums/ee201/vcpandya/NeedleProblem.jpg

This is quite an interesting problem.

When considering an infinite plane, my guess is that the probability
would be the same as for the normal problem. After all, when the needle
lands far enough from the origin, the situation is quite similar to the
original problem.

I have run trials with l = d = 1, with the tip landing in [-k,k]^2, for
various options of k. The # of trials per k was 100000.

When k gets larger, the result turns out closer to 2/pi.

Kind regards,
Sjoerd Job


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AI  
View profile  
 More options Nov 3, 4:40 am
Newsgroups: sci.math
From: AI <vcpan...@gmail.com>
Date: Mon, 2 Nov 2009 20:40:41 -0800 (PST)
Local: Tues, Nov 3 2009 4:40 am
Subject: Re: Variation of Buffon's Needle Problem
On Nov 2, 9:23 pm, Dan Cass <dc...@sjfc.edu> wrote:

> So are the radii as suggested in your picture to be d,2d,3d,etc?
> Seems like an interesting variation to me, but one problem I see is that of finiteness of a region.

You can take it as d,2d,3d etc but that will be a special case,
however radii in my pictur goes as d, d+x,d+2x . . . etc (if you take
x = d then we can have d, 2d, 3d etc)

Sjoerd Job wrote:
>I have run trials with l = d = 1, with the tip landing in [-k,k]^2, for
>various options of k. The # of trials per k was 100000.

Really??? I am amazed! Have you designed that simulation in
Mathematica? If yes can you please share it?

Regards,
AI


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sjoerd Job  
View profile  
 More options Nov 3, 5:41 am
Newsgroups: sci.math
From: Sjoerd Job <sjoerd...@sjec.nl>
Date: 03 Nov 2009 05:41:39 GMT
Local: Tues, Nov 3 2009 5:41 am
Subject: Re: Variation of Buffon's Needle Problem
On 2009-11-03, AI <vcpan...@gmail.com> wrote:

> Sjoerd Job wrote:
>>I have run trials with l = d = 1, with the tip landing in [-k,k]^2, for
>>various options of k. The # of trials per k was 100000.

> Really??? I am amazed! Have you designed that simulation in
> Mathematica? If yes can you please share it?

> Regards,
> AI

My simulation was quite simple, and did only count where there was
exactly one crossing. I have designed the simulation in Haskell, as that
is my language of choice.

------------ Buffon.hs -----------
module Buffon where

import Data.List
import System.Random

nl = 1 -- relative needle length

-- fall expects one argument
-- the width of the board.
-- As a result, it tells you if the needle crossed a circle exactly once
-- or not.
fall :: Double -> IO Bool
fall w = do
        x <- randomRIO (-w,w)
        y <- randomRIO (-w,w)
        t <- randomRIO (0,2*pi)
        let r1 = floor . norm $ (x,y) -- where is the tip?
        let r2 = floor . norm $ (x+nl*cos t, y+nl*sin t) -- and the end?
        return $ r1 /= r2

buffon :: Double -> Int -> IO Double
buffon w k = do
        -- Do k drops on a board of width w
        list <- sequence $ replicate k (fall w)
        let (ts,fs) = partition id list
        let tc = fromInteger . toInteger . length $ ts
        let fc = fromInteger . toInteger . length $ fs
        return $ tc/(tc+fc)
-------------------------------------

If requested, I could try and code an equivalent in Mathematica.

Here are some results from running "buffon w k" several times.

buffon 1 (10^5) : 0.58701, 0.58749, 0.58817
buffon 2 (10^5) : 0.61548, 0.61256, 0.61560
buffon 10 (10^5): 0.63256, 0.63167, 0.63637
buffon 50 (10^5): 0.63518, 0.63486, 0.63872

My trials with k=10^6 all failed, so I guess I will have to optimize my
code a bit more.

Kind regards,
Sjoerd Job

Kind regards,
Sjoerd Job


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ignacio Larrosa Caņestro  
View profile  
 More options Nov 3, 11:23 am
Newsgroups: sci.math
From: "Ignacio Larrosa Caņestro" <ilarrosaQUITARMAYUSCU...@mundo-r.com>
Date: Tue, 3 Nov 2009 12:23:11 +0100
Local: Tues, Nov 3 2009 11:23 am
Subject: Re: Variation of Buffon's Needle Problem

"AI" <vcpan...@gmail.com> escribiu na mensaxe
novas:51756fa0-f322-481f-8f7d-c70ae8ca1...@u36g2000prn.googlegroups.com...

> You may already know about Buffon's Needle Problem
> http://mathworld.wolfram.com/BuffonsNeedleProblem.html

> I am thinking about the following variation

> Find the probability that a needle of length "l" will land on a
> circle, given a floor with equally spaced Concentric circles at a
> distance "d" apart?

> Here is the drawing which I have made for my simulation
> http://i233.photobucket.com/albums/ee201/vcpandya/NeedleProblem.jpg

Here is proposed and solved:

http://faculty.missouristate.edu/l/lesreid/Adv63.html

--
Saludos,

Ignacio Larrosa Caņestro
A Coruņa (Espaņa)
ilarrosaQUITARMAYUSCU...@mundo-r.com


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AI  
View profile  
 More options Nov 3, 7:20 pm
Newsgroups: sci.math
From: AI <vcpan...@gmail.com>
Date: Tue, 3 Nov 2009 11:20:53 -0800 (PST)
Local: Tues, Nov 3 2009 7:20 pm
Subject: Re: Variation of Buffon's Needle Problem
On Nov 3, 4:23 pm, "Ignacio Larrosa Caņestro"

Great! Thanks for that reference. I did not know that this was already
proposed & solved by someone!!!
I thought about this when I was diddling around with questions where
Pi appears out of no where & Buffon's needle problem is one of those.

A special thanks to Sjoerd Job for writing Mathematica code for
simulation.

I really appreciate all responses.

Regards,
AI


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google