http://learn.cemetech.net/index.php?title=TI-BASIC:Power&feed=atom&action=history TI-BASIC:Power - Revision history 2022-08-13T23:43:36Z Revision history for this page on the wiki MediaWiki 1.34.0 http://learn.cemetech.net/index.php?title=TI-BASIC:Power&diff=576&oldid=prev Maintenance script: Initial automated import 2016-02-24T18:08:10Z <p>Initial automated import</p> <p><b>New page</b></p><div>{{Template:TI-BASIC:Command<br /> |picture=POWER.GIF<br /> |summary=Raises a number to a power.<br /> |syntax=''x''^''y''<br /> |location=Press [^]<br /> |compatibility=TI-83/84/+/SE<br /> |size=1 byte<br /> }}<br /> <br /> The ^ operator is used to raise a number to a power. It can be used with numbers, expressions, and lists. It can be used for taking nonnegative integer powers of square matrices (up to the 255th power only, however), but not for negative powers (use [[TI-BASIC:Inverse|ֿ¹]] instead) or matrix exponentials (which the TI-83+ cannot do).<br /> <br /> In general, ''x''^''y'' returns the same results as ''e''^(''y''*ln(''x'')). For expressions of the form ''x''^(''p''/''q''), where ''p'' and ''q'' are integers and ''q'' is an odd number, the principal branch is returned if ''x'' is complex, but the real branch is returned if ''x'' is a negative real number.<br /> <br /> (-1)^(1/3)<br /> -1<br /> (-1+0i)^(1/3)<br /> .5+.8660254038i<br /> <br /> = Optimization =<br /> <br /> When raising 10 or ''[[TI-BASIC:E_Value|e]]'' to a power, use the [[TI-BASIC:Ten_Exponent|10^(]] and ''[[TI-BASIC:E_Exponent|e^(]]'' commands instead. Similarly, use the [[TI-BASIC:2|²]], [[TI-BASIC:3|³]], or [[TI-BASIC:Inverse|ֿ¹]] commands for raising a number to the 2, 3, or -1 power.<br /> <br /> = Error Conditions =<br /> <br /> * '''[[TI-BASIC:Errors#domain|ERR:DOMAIN]]''' is thrown when calculating 0^0, or raising 0 to a negative power.<br /> * '''[[TI-BASIC:Errors#nonrealans|ERR:NONREAL ANS]]''' is thrown in [[TI-BASIC:Real_Mode|Real]] mode if the result is complex (and the operands are real)<br /> <br /> = Related Commands =<br /> <br /> * [[TI-BASIC:Multiply|*]], [[TI-BASIC:Divide|/]], [[TI-BASIC:Xroot|×√]]<br /> * [[TI-BASIC:Ten_Exponent|10^(]], ''[[TI-BASIC:E_Exponent|e^(]]''[[Category:TI-BASIC]]<br /> [[Category:TIBD]]</div> Maintenance script