Appendix A: System Routines — Math
775
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_def_int
Declaration:
void
push_def_int
(EStackIndex
i
, EStackIndex
vi
, EStackIndex
j
,
EStackIndex
k
)
Category(ies):
Math
Description:
Pushes onto the estack the definite integral of the expression indexed
by
i
, integrated with respect to the variable indexed by
vi
, from the
lower limit indexed by
j
to the upper limit indexed by
k
. If invoked via
push_internal_simplify
,
vi
and
i
are simplified to deepest variable.
Moreover,
i
is simplified under the influence of a temporary such that
vi
>
j
and
vi
<
k
when
j
<
k
.
Inputs:
i
— Index of the top tag of an internally-simplified algebraic
expression, a comparison, or an aggregate thereof.
vi
— Index of the top tag of a variable.
j, k
— Indices of the top tags of internally-simplified algebraic
expressions or aggregates thereof.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: did_push_anti_deriv, push_nint, push_arclen
Example:
void push_arclen
(EStackIndex i, EStackIndex vi, EStackIndex j, EStackIndex k)
{ Access_AMS_Global_Variables;
EStackIndex m, old_top = top_estack;
push_quantum_as_nonnegative_int (2u);
m = top_estack;
push_1st_derivative (i, vi);
replace_top2_with_pow (m);
add1_to_top ();
i = top_estack;
push_sqrt (i);
delete_between (old_top, i);
i = top_estack;
push_def_int (i, vi, j, k);
delete_between (old_top, i);
}