EasyManuals Logo

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 #322 background imageLoading...
Page #322 background image
280
Appendix A: System Routines — Algebra Utilities
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_independent_terms
Declaration:
void
push_independent_terms
(EStackIndex
i
, EStackIndex
var
)
Category(ies):
Algebra Utilities
Description:
Pushes onto the estack the sum of all syntactic terms of the expression
indexed by
i
that are independent of the variable or kernel indexed by
var
.
If there are no independent terms, pushes Float0 if IS_ARITH_APPROX is
true and Integer0 if IS_ARITH_APPROX is false.
Inputs:
i
Index of the top tag of an internally-simplified algebraic
expression.
var
Index of the top tag of an internally-simplified variable or kernel.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also:
None
Example:
push_quantum (PI_TAG);
k = top_estack;
push_quantum (8u); /* Push variable x */
replace_top2_with_sum (k);
k = top_estack; /* k -> x + pi */
push_quantum (9u);
j = top_estack; /* Push variable y */
push_ln (j); /* Push ln(y); */
replace_top2_with_sum(j); /* top_estack -> ln(y) + y */
replace_top2_with_sum(k);
k = top_estack; /* top_estack -> x + ln(y) + y + pi */
push_quantum (9u); /* Push y */
push_independent_terms (k, top_estack); /* Pushes x + pi */

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