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 #548 background imageLoading...
Page #548 background image
506
Appendix A: System Routines — EStack Arithmetic
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
replace_top_with_reciprocal
Declaration:
void
replace_top_with_reciprocal
(void)
Category(ies):
EStack Arithmetic, Math
Description:
Replaces the top of the estack with its internally-simplified reciprocal.
Inputs:
None
Outputs:
None
Assumptions:
The top expression on the estack is the top tag of an internally-simplified
algebraic expression or comparison.
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: divide_top, replace_top2_with_ratio, push_ratio, push_reciprocal
Example:
void push_anti_deriv_powprod_to_frac (EStackIndex i, EStackIndex k)
/* k indexes an expression of the form (bz + c)^n, with b possibly 1,
c possibly 0, and n possibly 1.
i indexes an expression of the form (a * k)^p, with p fractional and
a possibly 1.
Pushes corresponding anti-derivative with respect to z onto estack.
*/
{ Access_AMS_Global_Variables;
EStackIndex old_top = top_estack;
push_product (POWER_EXPONENT_INDEX (i), factor_exponent_index (k));
if (is_minus1 (top_estack))
{ /* int((a(bz + c)^n)^(-1/n),z) -> (a(bz + c)^n)^-(1/n) (bz + c) ln(bz + c) */
top_estack = old_top;
push_ln (factor_base_index (k));
times_top (factor_base_index (k));
times_top (i);
}
else { /* int ((az^n)^p, z) -> (a(bz + c)^n)^p (bz + c)/(np + 1) */
add1_to_top ();
replace_top_with_reciprocal ();
times_top (factor_base_index (k));
times_top (i);
}
} /* end push_anti_deriv_powprod_to_frac */

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