Difference between revisions of "TI-BASIC:Rect"

From Learn @ Cemetech
Jump to navigationJump to search
(Initial automated import)
 
(Automated internal link correction)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
}}
 
}}
  
The ►Rect command can be used when displaying a complex number on the home screen, or with the [[TI-BASIC:Disp|Disp]] and [[TI-BASIC:Pause|Pause]] commands. It will then format the number as though [[TI-BASIC:A+bi|A+bi]] mode were enabled, even when it's not. It also works with lists.
+
The ►Rect command can be used when displaying a complex number on the home screen, or with the [[TI-BASIC:Disp|Disp]] and [[TI-BASIC:Pause|Pause]] commands. It will then format the number as though [[TI-BASIC:A_Bi|A+bi]] mode were enabled, even when it's not. It also works with lists.
  
 
  i►Polar
 
  i►Polar
Line 29: Line 29:
 
= Related Commands =
 
= Related Commands =
  
* [[TI-BASIC:►Frac|►Frac]]
+
* [[TI-BASIC:Frac|►Frac]]
* [[TI-BASIC:►Dec|►Dec]]
+
* [[TI-BASIC:Dec|►Dec]]
 
* [[TI-BASIC:Polar_Display|►Polar]][[Category:TI-BASIC]]
 
* [[TI-BASIC:Polar_Display|►Polar]][[Category:TI-BASIC]]
 
[[Category:TIBD]]
 
[[Category:TIBD]]

Latest revision as of 23:54, 24 February 2016

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