NavList:
A Community Devoted to the Preservation and Practice of Celestial Navigation and Other Methods of Traditional Wayfinding
Re: Logarithms by Hand
From: Hanno Ix
Date: 2014 Jun 4, 12:33 -0700
The calculations for the plot were done carrying 5 digits.
H
From: Hanno Ix
Date: 2014 Jun 4, 12:33 -0700
One more remark I forgot to include in the message
dealing with CORDIAC:On Wed, Jun 4, 2014 at 12:16 PM, Hanno Ix <NoReply_HannoIx@fer3.com> wrote:
x=0;You might do something like this - written in an impromptu version of Pseudo Basic:Actually, CORDIAC is not a bad bet.Hello,Re: calculating sin() and cos() from scratch.
Peter and Noell
y=1;L=157; * equal to approximately pi/4*100for i = 1 to Ldx = 0.01*y; * no calculation - just shift y two digits to the right ...
x = x - dx; * and subtract from xX(i) = x;dy = 0.01*x; * analogous to abovey = y + dy;Y(i) = Y;endIn "only" 157 steps you get sin() in -Y and cos() in X with the period 100*pi.
That means the angles 0:90 deg are mapped into 0:25*pi.
The error is less than 10^-4 which is sufficiently small for
CelNav sight reduction using trig functions - not log-trig functions.Of course, you have also to transform the range 0:25 *pi of the angles
into 0:90 deg or the other way around to match the sextant scale.This complexity is the prize for simplifying division by shifting.
A subtle issue: the angles for sin() are located between the angles of cos().
The process is actually very simple and easy to commit to memory.
In particular, you don't have to memorize any constants or parameters.
It would be certainly a laborious but not a hopeless task.
I attach two graphs done in MATLAB. They are self - explanatory I think.H
____________________________________________________________________PS:
Noell, I thought you did a very nice job in describing how to
establish a log() table.You realize the sight reduction by hand I recently described aims atNOT using log(), though.On Wed, Jun 4, 2014 at 5:56 AM, Noell Wilson <NoReply_Wilson@fer3.com> wrote:
Hi Peter,
No tables of any kind?! Wow! That would probably eliminate some of the index card cheat sheets also.If possible, I'd invoke the strict reading of "no tables" and pull out my trusty slide rule.
If that's not legal, I'd probably run down a latitude line and approach the shore carefully.
I'd probably make land before I could derive the formulas.
Regards, Noell
----------------------------------------------------------------
NavList message boards and member settings: www.fer3.com/NavList
Members may optionally receive posts by email.
To cancel email delivery, send a message to NoMail[at]fer3.com
----------------------------------------------------------------Attached File:
(img/127908.cordiac.gif: Open and save)