Difference between revisions of "TI-BASIC:SK:Powers Exponentials"

From Learn @ Cemetech
Jump to navigationJump to search
(Initial automated import)
 
(Automated superscript correction)
Line 7: Line 7:
 
This operator, found on the keyboard, is the exponent operator. It will raise a number to a power.
 
This operator, found on the keyboard, is the exponent operator. It will raise a number to a power.
  
= ^^[[TI-BASIC:Inverse|-1]]^^, ^^[[TI-BASIC:2|2]]^^, ^^[[TI-BASIC:3|3]]^^ =
+
= <sup>[[TI-BASIC:Inverse|-1]]</sup>, <sup>[[TI-BASIC:2|2]]</sup>, <sup>[[TI-BASIC:3|3]]</sup> =
  
These are shortcuts for the reciprocal, square, and cube of a number respectively. ^^-1^^ and ^^2^^ can be found on the keyboard, while ^^3^^ can be pasted by pressing MATH, 3.
+
These are shortcuts for the reciprocal, square, and cube of a number respectively. <sup>-1</sup> and <sup>2</sup> can be found on the keyboard, while <sup>3</sup> can be pasted by pressing MATH, 3.
  
 
= Logarithms: [[TI-BASIC:Log|Log(]], [[TI-BASIC:Ln|Ln(]] =
 
= Logarithms: [[TI-BASIC:Log|Log(]], [[TI-BASIC:Ln|Ln(]] =

Revision as of 22:22, 24 February 2016

Another important class of math functions deals with powers, logarithms, and exponents.

TOC

^ operator

This operator, found on the keyboard, is the exponent operator. It will raise a number to a power.

-1, 2, 3

These are shortcuts for the reciprocal, square, and cube of a number respectively. -1 and 2 can be found on the keyboard, while 3 can be pasted by pressing MATH, 3.

Logarithms: Log(, Ln(

The Log( and Ln( functions, both available from the keyboard, will calculate the logarithms to base 10 and base e, respectively. To get logarithms to other bases, use the following formula:

:log(x)/log(b)

where b is the desired base.

A useful use of log( is to determine how many digits an integer has. An integer n will have

:int(log(abs(n)))+1

digits in base 10.

10^(, e^(

These functions can be found on the keybord, by pressing 2nd plus the respective logarithm key. Of course you could always type these out one character at a time, but using the shortcuts takes less bytes.

Roots: √(, ³√(, ˣ√(

These functions take the square root, cube root, and nth root of a number, respectively.


:5ˣ√(2)

will give the same result as

:2^(1/5)

namely, the 5th root of 2.

<< Numbers Menu Table of Contents Probability >>