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

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 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)
Line 37: Line 37:
 
* [[TI-BASIC:Xroot|×√]]
 
* [[TI-BASIC:Xroot|×√]]
 
* [[TI-BASIC:Cube_Root|³√(]]
 
* [[TI-BASIC:Cube_Root|³√(]]
* [[TI-BASIC:R►Pr(|R►Pr(]][[Category:TI-BASIC]]
+
* [[TI-BASIC:R_Pr|R►Pr(]][[Category:TI-BASIC]]
 
[[Category:TIBD]]
 
[[Category:TIBD]]

Latest revision as of 23:53, 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