Powered by Blogger.

Hello World!

My degree is in Computer Science, and over the last 30 years or so, Ive had to learn many new programing languages. The classic way to get started with a new language is to write whats called a Hello World! program. This is a very simple program that just prints the words "Hello World!" onto the screen (or printer, or paper tape... but I date myself!)


Light-programmable biofilm displaying the Hello World message
photo wikimedia commons

If you can get these two words to print out, you wont know everything there is to know about the language, but you will have a good feel for how the language works. More important, youll have the confidence you need to keep going.

With that in mind, Im going to start by running through a kind of Hello World! celestial navigation problem. Well take it one short, digestible step at a time, keeping the math and other brain twisting mumbo-jumbo to a minimum. The goal isnt to learn everything there is to know about celestial navigation. And its not to memorize some procedure that doesnt make sense to you, or to learn how to plug numbers into a magic box.

No, the goal is to understand how a simple sight works. Once you have that basic understanding, it wont be magic anymore, and youll be ready to keep going with more advanced sights.

So, by the end of this series of short blog posts, you should have worked your first sight and -- more importantly -- understood what you did. Lets get started.

Meridian Passage of the Sun

For our Hello World! problem, were going to do a traditional Noon Sun Sight. This was one of the first sights used by sailors, and the easiest one to understand.

In fact, you probably already have an intuitive understanding of how it works, even if you dont know all the details.

You know, for example, that the Sun rises in the morning and climbs higher and higher in the sky, until it reaches its peak at noon. At that precise moment, the Sun is crossing your longitude and thus it is Solar Noon at your location.

Lines of Longitude are vertical
Lines of Latitude are horizontal
image wikimedia commons

You also know that how high the Sun climbs at noon depends on your latitude. If you were sailing on the Amazon, near the latitude of the equator, youd probably expect the sun to be directly overhead, since the Sun travels along the equator, right? (Not exactly, but well get into that later!)

Shore-side on the Amazon
image wikimedia commons

On the other hand, if you were circumnavigating Iceland, or Tasmania, youd expect the sun to be much lower in the sky at Solar Noon, maybe even just peeking over the horizon, if it happened to be winter (but what are you doing sailing around Iceland in winter?)

You know the Sun does not travel directly over Iceland or Tasmania, but sensibly sails far to the south (or north) in the warm and sunny climes where women wear fruit on their heads.

Okay, were almost there. Lets review what you know from your every day experience:
  1. The exact time of Solar Noon depends on your longitude -- how far east or west you are
  2. The exact height of the Sun at Solar Noon depends on your latitude -- how far north or south you are
 Now, just turn those two facts around:
  1. If you measure the exact time of Solar Noon, you can find your longitude
  2. If you measure the exact height of the Sun at Solar Noon, you can find your latitude
Its as simple as that. With a few details to make it interesting, of course.

Okay, so we just need to hop out on deck at Solar Noon and take a shot, right? But when is Solar Noon? I went outside at 12:00 today and it looked like the Sun was still busy climbing. What gives?

Well tackle that problem, tomorrow.

>>> Next Episode: What Time Is Noon?


If you enjoyed this episode of the Unlikely Boat Builder, please consider telling a friend about it, or posting a link on Facebook. Thanks!


Get Notified Automatically

I hope youre enjoying "The Unlikely Boat Builder" as much as I enjoy writing it. Over 250 people have asked for a way to be notified automatically when I post new episodes. Ive figured out how to do this, so if youd like to be notified, please click on the link below. I promise Ill never spam you (and Google will have my head if I do.)

Thanks for your interest!

-- John

Get notified automatically


Follow me on Twitter! My son Chris has been bugging me for a few weeks to use Twitter to make short, more frequent posts from my iPhone, for when I dont have the time for longer blog posts. I dont know how it will work out, but Im willing to give it a try! My Twitter ID is UnlikelyVoyager (UnlikelyBoatBuilder is too long, apparently), and the URL is http://twitter.com/UnlikelyVoyager. Twitter me back, or leave a comment below, if you think this is worth while. Thanks, Chris!

0 comments:

Post a Comment