TI-BASIC:2

From Learn @ Cemetech
Revision as of 18:23, 24 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

File:SQUARE.GIF

Command Summary

Raises the input to the second power.

Command Syntax

value²

Menu Location

Press [x²]

Calculator Compatibility

TI-83/84/+/SE

Token Size

1 byte

The ² command raises an input to the second power. It has exactly the same function as "^2", but is one byte smaller. If used on a list, it will return a list with all of the elements squared. If used on a matrix, it will return the second matrix power of the input matrix.

2²
		4
{1,‾2,3}²
		{1 4 9}
[[2,‾1][‾3,0]]²
		[[1  ‾2]
		 [6 ‾3]]

Optimization

Use this command instead of ^2 in all instances.

:X^2
can be
:X²

Related Commands