TI-BASIC:Xroot

From Learn @ Cemetech
Jump to navigationJump to search

XROOT.GIF

Command Summary

Takes the xth root of an input.

Command Syntax

A xB

Menu Location

While editing a program, press:

  1. MATH to open the Math menu
  2. 5 or use the arrow keys to select

Calculator Compatibility

TI-83/84/+/SE

Token Size

1 byte

This command takes the xth root of a number. If used on a list, it will return a list with the xth root of each element. Also valid are the forms list×x and list1×list2.

:2×√4
		2
:5×√2
		1.148698355

:3×√{1,‾8,27}
		{1 ‾2 3}
		
:{3,2}×√{8,9}
		{2 3}
		
Real mode:
:4×√‾1
	<returns error>

a+bi mode:
:4×√‾1
		.7071067812+.7071067812i

See the notes on the ^ command for an explanation on how ×√ behaves depending on whether its input is real or complex.

Optimization

If you want to take the second or third root of a number, use √( or ³√( instead.

:2×√X
can be
:√(X

Error Conditions

  • ERR:NONREAL ANS if you try to take an even root of a negative number or list element in Real mode.

Related Commands