{"id":1,"date":"2009-09-07T17:05:11","date_gmt":"2009-09-07T22:05:11","guid":{"rendered":"http:\/\/geekroots.com\/wordpress\/?p=1"},"modified":"2013-03-07T12:26:16","modified_gmt":"2013-03-07T18:26:16","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/blog.alentrix.com\/?p=1","title":{"rendered":"Formula for the circumference of the earth at any latitude"},"content":{"rendered":"<p>I&#8217;m reading Piers Boziny&#8217;s &#8220;How to build your own spaceship: The science of personal space travel&#8221; ISBN 978-0-452-29533-9.<\/p>\n<p>On page 32 of this paperback, he mentions that the circumference of the earth at the equator is 24860 statute miles. I got to wondering how to figure out the circumference of the earth at different latitudes. I also got to wondering if I could use some stuff I just learned in calculus to develop a general formula. Turns out I was able to.<\/p>\n<p>The first step is to assume the earth is a perfect sphere and calculate its radius at the equator. Circumference = 2 times pi times radius, so 24860 = 2 times pi times radius, so 24860 divided by 2 divided by pi = radius, so radius = 3957 statute miles.<\/p>\n<p>The second step is to figure out the formula for the horizontal radius at any given point. To do so, graph yourself a circle centered at the origin (0,0) with a radius of 1 unit. Then shoot a line out to the upper right from the origin at some angle theta from the x-axis. The point where that line intersects your circle is the point (cos theta, sin theta). To calculate the horizontal circumference on this ideal circle of 1 unit at any &#8220;latitude&#8221; theta, the formula is: Circumference at &#8220;latitude&#8221; theta = 2 times pi times cos theta.<\/p>\n<p>To correct this formula for the fact that we&#8217;re dealing with a sphere having a radius of 3957 statute miles instead of 1 unit, let&#8217;s correct the formula: East-west circumference of the earth at latitude theta = 2 times pi times cos theta times 3957 statute miles.<\/p>\n<p>Therefore, as an example, the distance around the world at 40\u00b0N latitude is 2 times pi times cos theta times 3957 miles, or 2 times pi times cos 40\u00b0 times 3957 miles, or 2 times pi times 0.7660 times 3957 miles, or 19046 statute miles east-west at 40\u00b0N latitude.<\/p>\n<p>Isn&#8217;t that fun?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>East-west circumference of the earth at latitude theta = 2 times pi times cos theta times 3957 statute miles<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.alentrix.com\/index.php?rest_route=\/wp\/v2\/posts\/1"}],"collection":[{"href":"https:\/\/blog.alentrix.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.alentrix.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.alentrix.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.alentrix.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1"}],"version-history":[{"count":9,"href":"https:\/\/blog.alentrix.com\/index.php?rest_route=\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":247,"href":"https:\/\/blog.alentrix.com\/index.php?rest_route=\/wp\/v2\/posts\/1\/revisions\/247"}],"wp:attachment":[{"href":"https:\/\/blog.alentrix.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.alentrix.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.alentrix.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}