EasyManua.ls Logo

Texas Instruments TI-89 - Push_Sin2

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...
832
Appendix A: System Routines — Math
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_sin2
Declaration:
void
push_sin2
(EStackIndex
i
, EStackIndex
j
)
Category(ies):
Math
Description:
Pushes onto the estack sine (expression
i
+ (expression
j
)
p
/2).
sin (z) == sin2 (z, 0)
cos (z) == sin2 (z, 1)
The second argument saves code space by unifying rules for sine and
cosine, while making the “constant multiple of
p
” term efficiently accessible.
When
i
indexes a square numeric matrix, pushes the Float matrix sin2
computed via sin2(eigenvalues(
i
),
j
).
Example: If
i
indexes 0 and
j
indexes 1/3, pushes 1/2.
Inputs:
i
Indexes the top tag of an internally-simplified algebraic expression,
algebraic comparison, or aggregate thereof, with angles measured
in radians.
j
Indexes a number denoting a multiple of
p
/2.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_sin2, push_cos, push_tan, push_trig
Example:
push_quantum_as_nonnegative_int (0u);
i = top_estack;
push_reciprocal_of_quantum (3u);
push_sin2 (i, top_estack); /* Pushes fraction 1/2 */

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals