Calculator Programs
The following are program listings for the fx-6300g Casio calculator.
Memory Register | Variable Description | Short Name |
A |
Station East |
SE |
B |
Station North |
SN |
C |
Target East |
TE |
D |
Target North |
TN |
E |
Distance |
R |
F |
Whole Circle Bearing |
µ |
G |
Grid Bearing |
µ |
I |
Stores Pol/Rec Output |
|
J |
Stores Pol/Rec Output |
|
P |
Chainage |
P |
Q |
Offset |
Q |
The symbol ª represents the display symbol i.e. ALPHA Graph keystrokes.
To obtain bearing and distance from coordinates
"SE"?®A:"SN"?®B:"TE"?®C:"TN"?®D:Pol(D-B,C-A)
:I®E:J®F:F<0ÞF+360®F:"R"ªEª"µ"ªFª
To obtain coordinates from distance and bearing
"SE"?®A:"SN"?®B:"R"?®E:"µ"?®F:Rec(E,F):
I+B®D:J+A®C:"TE"ªCª"TN"ªDª
To obtain chainage and offset from coordinates
"SE"?®A:"SN"?®B"µ"?®G:"TE"?®C:"TN"?®D:Pol(D-B,C-A):
Rec(I,J-G):"P"ªIª"Q"ªJª
To obtain coordinates from chainage and offset
"SE"?®A:"SN"?®B"µ"?®G:"P"?®P:"Q"?®Q:Pol(P,Q):
Rec(I,J+G):I+B®D:J+A®C:"TE"ªCª"TN"ªDª