Push_Square - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Appendix A: System Routines — Math

push_square

Declaration:
void push_square (EStackIndex i )
Category(ies):
Math
Description:
Pushes onto the estack the internally-simplified value of the square of the
expression indexed by i .
i
Inputs:
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
push_exponentiate, raise_to_top, push_sqrt, push_reciprocal,
replace_top2_with_pow, replace_top_with_reciprocal,
push_dot_exponentiate
Example:
void push_quadratic_discriminant (EStackIndex a, EStackIndex b, EStackIndex c)
/* Pushes onto the estack
{
Access_AMS_Global_Variables;
EStackIndex old_top = top_estack;
push_negate_quantum_as_negint (4u);
times_top (a);
times_top (c);
a = top_estack;
push_square (b);
replace_top2_with_sum (a);
}
TI-89 / TI-92 Plus Developer Guide
— Index to the top tag of an internally-simplified algebraic expression,
algebraic comparison, or aggregate thereof.
b^2 - 4 a c. */
Not for Distribution
835
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents