Re: how to calculate the expected distance from a point to the center in square grid?

From: Leonardo B. Oliveira (leob_at_dcc.ufmg.br)
Date: 10/08/04


Date: Fri, 8 Oct 2004 08:23:52 -0300
To: "David W. Cantrell" <DWCantrell@sigmaxi.org>


Ok, David, many thanks. And do you know any place (e.g.
reference, link, etc) where I can see the demonstration of
the result below?

> (sqrt(2) + log(1 + sqrt(2)))*R .

I am developing a work and it is very important to me present
how i achieved this result.

About circle, in fact, i also has found 2/3*R - which is very similar
result to R sqrt(2)/2 (both 0.7, approximately). The latter
was found, by calculating the radius r of the inner circle
that has the half of the area of the circle of radius R.
Namely,

pR**2 = 2pr**2, so r = R sqrt(2)/2

Thanks again!
    
Regards,

     Leonardo

On Fri, 8 Oct 2004, David W. Cantrell wrote:

> "Leonardo B. Oliveira" <leob@dcc.ufmg.br> wrote:
>
> > The expected distance between a random point
> > (i.e., a point picked at random) in a circle of
> > radius R and the center of this circle
> > is R sqrt(2)/2 - as shown in "Estimating Hop=20
> > Counts in Position Based Routing Schemes for Ad Hoc"
>
> I'm not familiar with that article.
> And I must wonder if you're presenting their result accurately. I seems to
> me that what you have described as "expected distance" should be merely
> the average distance from the center of the circle to points within it,
> and that distance is 2/3*R, not sqrt(2)/2*R.
>
> > But and what about the expected distance from random
> > point to the center of a square grid, say n x n?
>
> To make this case easily comparable to that of the circle, let's say
> instead that we're dealing with a square of side length 2*R. The average
> distance from the center of the square to points within it is then
>
> (sqrt(2) + log(1 + sqrt(2)))*R .
>
> David Cantrell
>



Relevant Pages

  • Re: how to calculate the expected distance from a point to the centerin square grid?
    ... On 07 Oct 2004, Leonardo B. Oliveira wrote: ... >radius R and the center of this circle ... >But and what about the expected distance from random ... if you have a square of side length 2*n, ...
    (sci.math)
  • Re: Help a poor FORTRAN programmer with member functions?
    ... void* should be avoided, and is ... the base class for you other shapes. ... class Square: public Shape ... Circle to give their own version of Printthat does what they need it ...
    (comp.lang.cpp)
  • Re: Can I make something circular?
    ... Everything in Publisher is square. ... Keep your design inside the circle, ... I have used Neato labels and program. ... I've been looking into printing labels directly on discs (my Canon pixma ...
    (microsoft.public.publisher)
  • Re: Any one know of a circle cutting jig for bandsaw, or table saw?
    ... Cut a square from your stock on the table saw so that its side is ... slightly longer than the diameter of your circle. ... that fits snugly in the hole but turns freely, screw the square to ... Raise the blade and cut the corners off the square by running ...
    (rec.woodworking)
  • Re: Connecting semi-circles
    ... 'squaring the circle', or its inverse 'circling the square' ... continuous surface area and then moving it to a square with a perfect, ... There is no way to get a 'smooth corner.' ... Is it possible to create two semicircles so that: ...
    (sci.math)