EasyManua.ls Logo

Texas Instruments TI-89 - Push_Trig

Texas Instruments TI-89
1398 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
840
Appendix A: System Routines — Math
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_trig
Declaration:
void
push_trig
(void (*
proc
) (EStackIndex), EStackIndex
i
)
Category(ies):
Math
Description:
Pushes the corresponding internally-simplified result onto the estack. The
only trigonometric tag that internally-simplified results can contain is
SIN2_TAG or (if IS_COLLECT_KERNELS) TAN_RAD_TAG, both of
whose first arguments are always in radians.
Inputs:
proc
The address of
push_sin
,
push_cos
, or some other such radian
mode trig pusher subroutine of one EStackIndex argument.
i
Indexes the top tag of an internally-simplified algebraic
expression, algebraic comparison or aggregate thereof, with
angles measured according to IS_DEGREES versus
IS_RADIANS.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_sin, push_cos, push_tan, push_sin2
Example:
If IS_DEGREES and not IS_ARITH_APPROX, and
i
indexes integer 60,
then
push_trig
(
push_sin
,
i
) pushes 1/2.
/* Depending on the arithmetic mode: Pushes tagged 0.5 if IS_DEGREES;
Otherwise pushes –3.0481062110209 or symbolic sin(60).
*/
push_Float (60.0);
push_trig (push_sin, top_estack);

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals