Talk:2021-04-23 53 9

From Geohashing
Revision as of 13:25, 24 April 2021 by Kripakko (talk | contribs) (Created page with "I am sure you can calculate the probability yourself, but anyway here is my approximation: Consider a circle of radius ''r'' at latitude ''θ'' and longitude ''ϕ''. In the l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I am sure you can calculate the probability yourself, but anyway here is my approximation:

Consider a circle of radius r at latitude θ and longitude ϕ. In the latitude/longitude coordinate space, if the circle is small (r ≪ graticule dimensions), it will look like an ellipse with semi-major axis ϕr and semi-minor axis θr. The semi-major axis will always be longitudinal due to the non-square shapes of the graticules. The lengths of the axes are:

ϕr = 1° × r / wgrat,
θr = 1° × r / hgrat,

where wgrat and hgrat are the width and the height of the graticule respectively at the centre point of the ellipse. Assuming that the Earth is a sphere with radius R = 6371000 m and taking θ = 53.6401767° from 2021-04-10_53_9, the dimensions of the graticule are approximately

hgrat = π R / 180 = 111195 m,
wgrat = hgrat cos θ = 65922 m.

Now, if r = 384 m, we get the axes of the ellipse:

ϕr = 0.00583°,
θr = 0.00345°.

The probability P1 that a random hashpoint hits this ellipse is simply the area of the ellipse divided by the area of the graticule:

P1 = (π ϕr θr) / (1° × 1°) = 6.32 × 10−5 = 1 / 15800.

Finally, the probability P2 that a hashpoint hits the ellipse at least once in 13 days is

P2 = 1 − (1 − P1)13 = 8.21 × 10−4 = 1 / 1220.

An event of this probability will happen on average about once in 3.33 years or three years and four months.

Kripakko (talk) 13:21, 24 April 2021 (UTC)