Reference Guide

Full Command and Function Reference 3-259
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
z
1
n
truncate
z
2
z
1
'symb
truncate
'
'TRNC(z
1
,symb
truncate
)'
'symb
1
'
n
truncate
'TRNC(symb
1
,n
truncate
)'
'symb
1
'
'symb
truncate
'
'TRNC(symb
1
,symb
truncate
)'
[ array ]
1
n
truncate
[ array ]
2
x_unit
n
truncate
y_unit
x_unit
'symb
truncate
'
'TRNC(x_unit,symb
truncate
)'
Example 1:
(4.5792,8.1275) 2 TRNC
returns
(4.57,8.12)
.
Example 2:
[ 2.34907 3.96351 2.73453 ] -2 TRNC
returns
[ 2.3 3.9 2.7 ]
.
See also: RND
TRUNC
Type: Function
Description: Truncates a series expansion.
Access: Catalog, …µ
Input: Level 2/Argument 1: The expression that you want to truncate.
Level 1/Argument 2: The expression to truncate with respect to.
Output: The expression from Level 2/Argument 1, with terms of order greater than or equal to the order
of the expression in Level 1/Argument 2 removed.
Flags: Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag –3 clear).
Radians mode must be set (flag –17 set).
Example: Expand the expression (x+1)
7
, and remove all terms in x
4
and higher powers of x
Command:
TRUNC((X+1)^7,X^4)
Result:
35*X^3+21*X^2+7*X+1
See also: DIVPC, EXPAND, SERIES
TRUTH
Type: Command
Description: Truth Plot Type Command: Sets the plot type to TRUTH.
When the plot type is TRUTH, the DRAW command plots the current equation as a truth-valued
function of two real variables. The current equation is specified in the reserved variable EQ. The
plotting parameters are specified in the reserved variable PPAR, which has this form:
{ (x
min
, y
min
) (x
max
, y
max
) indep res axes ptype depend }
For plot type TRUTH, the elements of PPAR are used as follows:
(x
min
, y
min
) is a complex number specifying the lower left corner of PICT (the lower left corner
of the display range). The default value is (–6.5,–3.1) for the HP 48gII and (–6.5,–3.9) for the
HP 50g and 49g+.
(x
max
, y
max
) is a complex number specifying the upper right corner of PICT (the upper right
corner of the display range). The default value is (6.5,3.2) for the HP 48gII and (6.5,4.0) for the
HP 50g and 49g+.