Predefined Constants

Math Constants

Name

Keystroke

Default Value

[Ctrl] [Shift] Z

10307

e

e

Value of e to 17 digits: 2.7182818284590451

π

[Ctrl] [Shift] p or p [Ctrl] g

Value of π to 17 digits: 3.1415926535897931

i or j

1i or 1j

The imaginary unit.

%

%

0.01; multiplying by % gives you the appropriate conversion. You can type [expression]% for inferred multiplication or use it in the unit placeholder.

NaN

NaN

Not a number.

These constants retain their exact values in symbolic calculations. To redefine the value of any of these constants, use the equal sign for definition (:=) as you would to define any variable.

System Constants

Name

Default Value

Use

TOL

.001

Controls iterations on some numerical methods.

CTOL

.001

Controls convergence tolerance in Solve Blocks.

ORIGIN

0

Controls array indexing.

PRNPRECISION
PRNCOLWIDTH

4
8

Controls data file writing preferences.

CWD

current working directory in the form of a string variable

Can be used as an argument to file handling functions.

FRAME

0

Controls animations.

ERR

NA

Size of the sum of squares error for the approximate solution to a Solve Block.

1L, 1M, 1T, 1Q, 1K, 1C, and 1S

assigned by the selected unit system

Define custom unit definitions for the base dimensions.

To redefine system constants, use the equal sign for definition (:=) in your worksheet, as you would to define any variable, or choose Worksheet Options from the Tools menu, and go to the Built-in Variables tab.

Symbolic Math Constants

The following constants can only be evaluated using the symbolic equal sign or the Symbolics menu. They cannot be evaluated using the equal sign for evaluation (=).

Name

Meaning

Default Value to 17 Digits

γ (gamma)

Euler's Constant

γ float, 17 → 0.57721566490153286

Catalan

Catalan's constant

Catalan float, 17 →0.91596559417721902

See the following QuickSheet for examples.

QuickSheet - Symbolic Constants