# Entering Data

There are seven basic data types: numbers, tables, matrices, dates, lists, text and equations.

## Numbers

There are six types of numbers: real (decimal) numbers, fractions, feet-inches, integers, complex numbers, and DMS.

Real Numbers
Real numbers -- also known as whole, decimal or floating point numbers -- are entered in standard numerical format using a decimal point (.) or comma (,) as a separator between whole and fractional portions of the number (changed in the Settings App). In addition, exponential notation is also available using the symbol 'E'.

Examples:
3.5 or 3,5 or 45
1,000.55 or 1.000,55
-1,000.55 or -1.000,55
3E55 or -3E55
3.25E-25 or 3,25E-25
-3.25E-25 or -3,25E-25

Use the Setting for the desired output. Alternatively, use the toggle (↔) button to rotate between output formats. The toggle button is available in the math tab on the calculator. Real/fraction rotation is as follows: decimal (3.5), fraction (3&1/2), scientific notation and engineering notation.

Fractions
Fractions include a numerator and denominator with an optional whole portion. They use ampersand (&) to separate the whole portion from fractional portion and forward slash (/) to separate numerator from denominator. Fractional numbers are stored as real numbers and converted on display.

Examples:
1&3/4 or -1&3/4
3/5 or -3/5

Use the Setting for the desired output. Alternatively, use the toggle (↔) button to rotate between output formats. The toggle button is available in the math tab on the calculator. Real/fraction rotation is as follows: decimal (3.5), fraction (3&1/2), scientific notation and engineering notation.

Feet-Inches
Feet-inch numbers are entered with an apostrophe (') separating the feet and inch portions of the number and quote mark (") to denote inches. If the feet marker (') is included then the inch marker (") is optional.

Feet-inch numbers retain their dimensions. For instance, multiplying two linear measurements together will result in an area; multiplying a linear measurement by an area will result in a volume.

Examples:
3'4" or 3'4
3'4&1/2" or 3'4&1/2
3'4.5" or 3'4.5
5'
5.25'
45"
4&1/2"
3.5in² [area]
3.5ft² [area]
10.5in³ [volume]
10.5ft³ [volume]

Use the Setting for the desired output. Alternatively and on iOS only, use the toggle (↔) button to rotate between output formats. The toggle button is available in the math tab on the calculator. Rotation is as follows:
- Lengths: feet-inch as fractions (3'6&1/2"), decimal feet (3.5417'), fractional inches (42&1/2") and decimal inches (42.5")
- Areas: feet (3.5ft^2) and inches (504in^2)
- Volumes: feet (2.3ft^3) and inches (3974.4in^3)

Integers
Integer numbers start with a number and end with _d for decimal numbers, _b for binary numbers, _o for octal numbers, or _h for hexadecimal numbers. All hexadecimal letters are available on the custom programmer's keypad or in the math list. Select "more" button in the advanced math tab for both options.

Examples:
34_d
1011_b
71_o
0A8_h
8F_h

Use the Setting for the desired output. Alternatively and on iOS only, use the toggle (↔) button to rotate between output formats.

Complex
Complex numbers start with a parenthesis followed by the real number, a semi-colon, optional polar indicator (@), imaginary portion and ending parenthesis.

Examples:
(3;@4) [polar]
(15;30) [rectangular]

Complex numbers are only available in the calculator.

DMS
DMS numbers are in the form dd.mmss where dd is one- or two-digit degrees, mm is two-digit minutes, and ss is two-digit seconds.

Examples:
35.4515 is 35 degrees, 45 minutes, 15 seconds

## Tables

Tables are a collection of real numbers entered and displayed in a single field. Use semi-colons to separate columns and return to separate rows.

Tables are restricted to 256 total elements. To calculate total elements, multiply your number of rows by your number of columns. In addition, row and column indexes start at 1.

Tables are either one-variable with optional occurrences or two-variable with optional occurrences. The required type is usually indicated in the template or variable help available from the extras menu.

Table Examples
A. One-Variable Table, No Occurrences
A one-variable table could be entered like this:

125.67
2,000
5,000

B. One-Variable Table with Occurrences
One-variable tables with occurrences would be entered as such:

125.67;3
2,000;2
5,000

Note that the occurrences in each row is optional. If it is left out, 1 occurrence is assumed.

C. Two-Variable Table with Occurrences
Two-variable tables with occurrences would be entered as such:

5;25;2
3;15
4.5;22;2

Note that the occurrences in each row is optional. If it is left out, 1 occurrence is assumed.

Tables in the Engine and Calculator:
When reviewing math functions, tables are represented using braces { } for simplicity (and because this is how they are used in the math engine.) Braces define rows and columns. Each example from above:

A: {125.67; 2000; 5000}
B: {{125.67;3};{2000;2};{5000;1}}
C: {{5;25;2};{3;15;1};{4.5;22;2}}

Note that all rows must have the same dimensions so either always include or always exclude the occurrences column.

## Matrices

While note available in templates, matrix math is available in the calculator. Matrices are represented using brackets [ ]. Brackets define rows and columns. For example, a one-column matrix (called a vector):

5
-2
3

would be entered as follows:

[5; -2; 3] A multi-column matrix:

5     1     -1
-2     0      3
3     2      4

would be entered as follows:

[[5;1;-1];[-2;0;3];[3;2;4]]

## Dates

Select the month, day and year from the list and select Save.

Dates in the Engine:
When reviewing math functions, dates are represented in dd.mmyyyy format where dd is days, mm is two-digit month (01 to 12) and yyyy is the four-digit year.

## Lists

Select the desired option from the list and select Save.

## Text

Enter the desired text and select Save.

## Equations

On iOS only, enter an equation for function graphs. Equations are generally in the form y=equation where the variable in the equation is 'x'. Examples include y=sin(x) or y=x^2. 'x' is the independent variable and 'y' is the dependent variable. Equations can be created with a wide variety of mathematical functions. Use the keypad to enter the desired equation and select Save.