Trunc; Truth - HP 48gII Advanced User's Reference Manual

Graphing calculator.

0 through 11
–1 through –11
12
For complex numbers and arrays, each real number element is truncated. For unit objects, the
number part of the object is truncated.
Access:
Flags:
Numerical Results (-3)
Input/Output:
RND

TRUNC

CAS:
Truncate a series expansion, performing the expansion, or using a given polynomial.

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:
For plot type TRUTH, the elements of PPAR are used as follows:
• (x
, y
min
of the display range). The default value is (–6.5,–3.1) for the hp48gII and (–6.5,–3.9) for the
hp49g+.
• (x
, y
max
corner of the display range). The default value is (6.5,3.2) for the hp48gII and (6.5,4.0) for the
hp49g+.
• indep is a name specifying the independent variable on the horizontal axis, or a list containing
such a name and two numbers specifying the minimum and maximum values for the
independent variable (the horizontal plotting range). The default value is X.
• res is a real number specifying the interval (in user-unit coordinates) between plotted values of
the independent variable on the horizontal axis, or a binary integer specifying that interval in
pixels. The default value is 0, which specifies an interval of 1 pixel.
• axes is a list containing one or more of the following, in the order listed: a complex number
specifying the user-unit coordinates of the plot origin, a list specifying the tick-mark
annotation, and two strings specifying labels for the horizontal and vertical axes. The default
value is (0,0).
n
t runcate
truncated to n decimal places
truncated to n significant digits
truncated to the current display format
LL
REAL
TRNC
Level 2/Argument 1
Level 1/Argument 2
z
1
z
1
'symb
'
1
'symb
'
1
[ array ]
1
x_unit
x_unit
{ (x
, y
min
min
) is a complex number specifying the lower left corner of PICT (the lower left corner
min
) is a complex number specifying the upper right corner of PICT (the upper right
max
Effect on Level 2 Argument
( ´ is the left-shift of the Pkey).
n
truncate
'symb
'
truncate
n
truncate
'symb
'
truncate
n
truncate
n
truncate
'symb
'
truncate
) (x
) indep res axes ptype depend }
, y
max
max
Full Command and Function Reference 3-187
Level 1/Item 1
z
2
'TRNC(z
,symb
)'
1
truncate
'TRNC(symb
,n
)'
1
truncate
'TRNC(symb
,symb
)'
1
truncate
[ array ]
2
y_unit
'TRNC(x_unit,symb
)'
truncate  