TI-BASIC:2
From Learn @ Cemetech
Jump to navigationJump to searchCommand Summary
Raises the input to the second power.
Command Syntax
value²
Menu Location
Press [x²]
TI-83/84/+/SE
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²