176
Using mathematical functions
%TOTAL
Percent total : (100)
y/
x
. What percentage of
x
,
is
y
.
%
TOTAL
(
x
,
y
)
Example:
%
TOTAL(20,50)
returns
250
RAD
→
DEG
Radians to degrees. Converts
value
from radians to
degrees.
RAD
→
DEG
(
value
)
Example:
RAD
→
DEG(
π
)
returns
180
ROUND
Rounds
value
to decimal
places
. Accepts complex
numbers.
ROUND
(
value
,
places
)
Round can also round to a number of significant digits as
showed in the second example below.
Examples:
ROUND(7.8676,2)
returns
7.87
ROUND(0.0036757,-3)
returns
0.00368
SIGN
Sign of
value
. If positive, the result is 1. If negative, –1. If
zero, result is zero. For a complex number, this is the unit
vector in the direction of the number.
SIGN
(
value
)
SIGN
((
x, y
))
Example:
SIGN (–2)
returns
–1
SIGN((3,4))
returns
(.6,.8)
TRUNCATE
Truncates
value
to decimal
places
. Accepts complex
numbers.
TRUNCATE
(
value
,
places
)
Example:
TRUNCATE(2.3678,2)
returns
2.36
Summary of Contents for 39gII
Page 1: ...HP 39gII graphing calculator user s guide Edition1 Part Number NW249 90001 ...
Page 2: ...Printing History Edition 1 November 201 1 ...
Page 32: ...22 Getting started ...
Page 58: ...48 Apps and their views ...
Page 70: ...60 Function app ...
Page 80: ...70 Solve app ...
Page 136: ...126 Polar app ...
Page 140: ...130 Sequence app ...
Page 148: ...138 Finance app ...
Page 152: ...142 Linear Solver app ...
Page 218: ...208 Matrices ...
Page 226: ...216 Notes and Info ...
Page 238: ...228 Variables and memory management ...
Page 318: ...308 Programming ...
Page 340: ...330 Reference information ...
Page 346: ...vi Product Regulatory Information ...