Difference between revisions of "TI-BASIC:Square Root"

From Learn @ Cemetech
Jump to navigationJump to search
(Initial automated import)
 
(Automated superscript correction)
Line 8: Line 8:
 
}}
 
}}
  
Takes the square root of a positive or negative number.  It works exactly the same as 2^^×^^√ or ^(1/2) but is smaller and uses an ending parenthesis.  If used on a list, it will return a list with the square root of each element.
+
Takes the square root of a positive or negative number.  It works exactly the same as 2<sup>×</sup>√ or ^(1/2) but is smaller and uses an ending parenthesis.  If used on a list, it will return a list with the square root of each element.
  
 
  √(4)
 
  √(4)

Revision as of 22:23, 24 February 2016

SQUAREROOT.PNG

Command Summary

Take the square root of a number.

Command Syntax

√(input)

Menu Location

Press 2nd √ to paste the √( command.

Calculator Compatibility

TI-83/84/+/SE

Token Size

1 byte

Takes the square root of a positive or negative number. It works exactly the same as 2×√ or ^(1/2) but is smaller and uses an ending parenthesis. If used on a list, it will return a list with the square root of each element.

√(4)
		2
√(2)
		1.414213562
		
√({1,-1})
		{1 i}

This may return a complex number or throw ERR:NONREAL ANS (depending on mode settings) if taking the square root of a negative number.

Optimization

Never raise something to the one-half power explicitly; use this command instead.

:X^(1/2)→X
can be
:√(X→X

Error Conditions

Related Commands