**A python curls up to touch the tip of its own tail with its nose, forming the shape of a circle.**

The python is 2.6 pi (2.6Ï€) meters long.

What is the radius r of the circle that the python forms?

–

Obviously, this is not about the programming language. Someone was searching for this, well, lots of people were, so why not answer it?

Snakes are scary. Instead of thinking of it as a snake, assume it’s just the circumference of a circle - the length of the line that draws the circle. Let’s find some formulas that connect the circumference with the radius!

According to WikipediaÂ (or rather, according to Archimedes, in 250BC, long before my time), the ratio of circumference to diameter (twice the radius) of a circle is “greater than 3 10/71 and less than 3 1/7” (or simpler, just “pi”, which is how to write the symbol Ï€ – who comes up with this stuff? It doesn’t even look like a cake).

Now we have: C = Ï€ d, or (with d = 2 r):Â C = 2 Ï€ r.

Changing that around: r = C / 2 Ï€

So with our value of C = 2.6Ï€ meters, that gives us:

r = 2.6Ï€/2Ï€ = 2.6/2, so **r = 1.3 metersÂ **

There you have it.

For the second part of the question: please explain in the comments below how you would measure the length of a python with the accuracy of pi.

#### Comments / questions

There's currently no commenting functionality here. If you'd like to comment, please use Twitter and @me there. Thanks!

Tweet about this - and/or - search for latest comments / top comments