EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #884 background imageLoading...
Page #884 background image
842
Appendix A: System Routines — Math
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
replace_top2_with_pow
Declaration:
void
replace_top2_with_pow
(EStackIndex
i
)
Category(ies):
Math
Description:
Replaces the top two expressions of the estack with (top
expression)^(expression
i
). If expression
i
is a square matrix, pushes the
same-size identity matrix. If
top_estack
indexes a zero, pushes the
iterated matrix product. If
top_estack
indexes a positive whole number,
pushes the inverse matrix or else its iterated matrix product if
top_estack
indexes a negative whole number.
Inputs:
i
Index to the top tag of the deeper of the top two expressions of the
estack. These top two expressions are internally-simplified
algebraic expressions, algebraic comparisons, or aggregates
thereof.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_dot_exponentiate, raise_to_top, push_exponentiate, push_sqrt,
push_square, push_reciprocal, replace_top_with_reciprocal
Example:
void push_arclen(EStackIndex i,EStackIndex vi,EStackIndex j,EStackIndex k)
/* j and k index expressions, vi indexes a variable, and i indexes an
expression simplified through variable vi.
Pushes onto the estack the arc displacement of expression i with respect
to vi going from j through k.
*/
{ Access_AMS_Global_Variables;
EStackIndex m, old_top = top_estack;
push_quantum_as_nonnegative_int (2u);
m = top_estack;
push_1st_derivative (i, vi);
replace_top2_with_pow (m);
add1_to_top ();
i = top_estack;
push_sqrt (i);
delete_between (old_top, i);
i = top_estack;
push_def_int (i, vi, j, k);
delete_between (old_top, i);
}

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals