02 Sep '04 14:28

There are two systems for expressing orientation on a map. One is a bearing, given in degrees clockwise of North. The other is to use 'points of the compass', such as Norh-Northeast (which equates to a bearing of 022.5).

Unfortunately, not all orientations can be expressed as a point of the compass of finite length. Your challenge is to come up with a system of turning any bearing into a

For starters, try to get a sequence tending to 030.

Unfortunately, not all orientations can be expressed as a point of the compass of finite length. Your challenge is to come up with a system of turning any bearing into a

*sequence*of points of the compass, whose bearings tend to the bearing you're trying to reach.For starters, try to get a sequence tending to 030.