P4444 rx(), P4444 ry(), Part() – Texas Instruments TITANIUM TI-89 User Manual

Page 851: Appendix a: functions and instructions 851

Advertising
background image

Appendix A: Functions and Instructions

851

P

4444Rx()

MATH/Angle menu

P

4444Rx(

rExpression

,

q

Expression

)

expression

P

4444Rx(

rList

,

q

List

)

list

P

4444Rx(

rMatrix

,

q

Matrix

)

matrix

Returns the equivalent x-coordinate of the
(r,

q) pair.

Note: The

q argument is interpreted as either a

degree, gradian or radian angle, according to the
current angle mode. If the argument is an
expression, you can use ó ,

G

o r ô to override

the angle mode setting temporarily.

In Radian angle mode:

P4Rx(r,q)

¸

cos(q)ø r

P4Rx(4,60¡)

¸

2

P4Rx({ë 3,10,1.3},{p/3,ë p/4,0})

¸

{

л

3/2 5ш ‡2 1.3

}

P

4444Ry()

MATH/Angle menu

P

4444Ry(

rExpression

,

q

Expression

)

expression

P

4444Ry(

rList

,

q

List

)

list

P

4444Ry(

rMatrix

,

q

Matrix

)

matrix

Returns the equivalent y-coordinate of the
(r,

q) pair.

Note: The

q argument is interpreted as either a

degree, radian or gradian angle, according to the
current angle mode. If the argument is an
expression, you can use ó ,

G

o r ô to override

the angle mode setting temporarily.

In Radian angle mode:

P4Ry(r,q)

¸

sin(q)ø r

P4Ry(4,60¡)

¸

2ø ‡3

P4Ry({ë 3,10,1.3},{p/3,ë p/4,0})

¸

{

л

3ш ‡3

2

л 5ш ‡2 0.

}

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

expression1

simplifies to

cos(

pù x+3):

The

cos()

function has one argument:

(

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.

cos()

is the top-level operator because it is

applied last.

part(

expression1

)

number

Simplifies

expression1

and returns the number of

top-level arguments or operands. This returns 0 if

expression1

is a number, variable, or symbolic

constant such as

p,

e

,

i

, or

ˆ.

part(cos(pùx+3)) ¸ 1

Note: cos(

pù x+3) has one argument.

part(

expression1

, 0)

string

Simplifies

expression1

and returns a string that

contains the top-level function name or operator.
This returns

string(

expression1

)

if

expression1

is a

number, variable, or symbolic constant such as

p,

e

,

i

, or

ˆ.

part(cos(pùx+3),0) ¸ "cos"

Advertising