Part() Catalog - Texas Instruments TI-89 Manual Book

Ti ti-89: user guide
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

part()
CATALOG
part(expression1[ ,nonNegativeInteger])
This advanced programming function lets
you identify and extract all of the sub-
expressions in the simplified result of
expression1
For example, if
cos(pù x+3):
The
cos()
(pù x+3).
The sum of (pù x+3) has two operands:
pù x and 3.
The number 3 has no arguments or
operands.
The product pù x has two operands: p
and x.
The variable x and the symbolic constant p
have no arguments or operands.
If x has a numeric value and you press
, the numeric value of pù x is
¥ ¸
calculated, the result is added to 3, and then
the cosine is calculated.
operator because it is applied last.
part(expression1)
Simplifies
of top-level arguments or operands. This
returns 0 if
or symbolic constant such as p, e, i, or ˆ.
part(expression1, 0)
Simplifies
that contains the top-level function name or
operator. This returns
expression1
constant such as p, e, i, or ˆ.
part(expression1, n)
Simplifies
argument or operand, where
 the number of top-level arguments or
operands returned by
Otherwise, an error is returned.
.
simplifies to
expression1
function has one argument:
is the top-level
cos()
number
and returns the number
expression1
is a number, variable,
expression1
string
and returns a string
expression1
string(expression1)
is a number, variable, or symbolic
expression
and returns the
expression1
is > 0 and
n
part(expression1)
part(cos(pù x+3)) ¸
Note: cos(pù x+3) has one argument.
part(cos(pù x+3),0) ¸
if
part(cos(pù x+3),1) ¸
th
n
Note: Simplification changed the order of
the argument.
.
Appendix A: Functions and Instructions
1
"cos"
3+pøx
477

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents