Skip to content

The G Command

Command Summary Command Syntax Calculator Compatibility Token Size
Converts an angle to gradians, if necessary. angle G This command requires a TI-89 Titanium or Voyage 200 calculator with AMS version 3.10 or higher. 1 byte
  • Press 2nd MATH to enter the MATH popup menu.
  • Press 2 to enter the Angle submenu.
  • Press C to select G.

The G Command

The G symbol used after an angle makes sure the angle is interpreted as being in gradians (an obscure angle measure in which a full circle is equal to 400 gradians); this functionality is present only on TI-89 Titanium or Voyage 200 calculators with AMS version 3.10. If the calculator is already in gradian mode, xG is equal to x; in degree mode, xG is equal to 9x/10; and in radian mode, xG is equal to πx/200.

If you're using gradian angle measures extensively in a program, it's a better idea to use 68k:setMode() to switch to gradian mode and not worry about this. However, there are two reasons you might want to use G:
- If you need an angle in gradians only once or twice, don't bother changing the mode setting.
- In a function, you're forced to use G, since setMode() isn't valid in a function.

In gradian mode (no conversion is necessary, so no conversion is done):

:cos(100)
           1
:cos(100^G)
           1
:100^G
           100

In degree mode:

:cos(100)
           cos(100)
:cos(100^G)
           1
:100^G
           90

Authors: KG