TI-BASIC:Rect

From Learn @ Cemetech
Revision as of 23:54, 24 February 2016 by Maintenance script (talk | contribs) (Automated internal link correction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

RECT.GIF

Command Summary

Formats a complex value in rectangular form when displaying it.

Command Syntax

value►Rect

Menu Location

Press:

  1. MATH to access the math menu.
  2. RIGHT RIGHT to access the CPX submenu.
  3. 6 to select ►Rect, or use arrows and ENTER.

Calculator Compatibility

TI-83/84/+/SE

Token Size

2 bytes

The ►Rect command can be used when displaying a complex number on the home screen, or with the Disp and Pause commands. It will then format the number as though A+bi mode were enabled, even when it's not. It also works with lists.

i►Polar
    1e^(1.570796327i)
Ans►Rect
    i

It will also work when displaying a number by putting it on the last line of a program by itself. It does not work with Output(, Text(, or any other more complicated display commands.

To actually separate a number into the components of rectangular form, use real( and Imag(.

Error Conditions

  • ERR:SYNTAX is thrown if the command is used somewhere other than the allowed display commands.
  • ERR:DATA TYPE is thrown if the value is real.

Related Commands