# (subtract) - HP 48gII Advanced User's Reference Manual

Graphing calculator.

## (Subtract)

Type:
Function
Description: Subtract Analytic Function: Returns the difference of the arguments.
The difference of a real number a and a complex number (x, y) is (x–a, y) or (a–x, –y). The
difference of two complex numbers (x
The difference of a real array and a complex array is a complex array, where each element x of
the real array is treated as a complex element (x, 0). The two array arguments must have the same
dimensions.
The difference of a binary integer and a real number is a binary integer that is the sum of the first
argument and the two ' s complement of the second argument. (The real number is converted to a
binary integer before the subtraction.)
The difference of two binary integers is a binary integer that is the sum of the first argument and
the two's complement of the second argument.
The difference of two unit objects is a unit object with the same dimensions as the second
argument. The units of the two arguments must be consistent.
Common usage is ambiguous about some units of temperature. When ºC or ºF represents a
thermometer reading, then the temperature is a unit with an additive constant: 0 ºC = 273.15
K, and 0 ºF = 459.67 ºR. But when ºC or ºF represents a difference in thermometer readings,
then the temperature is a unit with no additive constant: 1 ºC = 1 K and 1 ºF = 1 ºR.
The calculator assumes that the simple temperature units x_ºC and x_ºF represent thermometer
temperatures when used as arguments to the functions <, >, , , ==, and . This means that, in
order to do the calculation, the calculator will first convert any Celsius temperature to Kelvins
and any Fahrenheit temperature to Rankines. (For other functions or compound temperature units,
such as x_ºC/min, the calculator assumes temperature units represent temperature differences,
so there is no additive constant involved, and hence no conversion.)
The arithmetic operators +, –, %, %CH, and %T treat temperatures as differences, without any
additive constant, but require both arguments to be either absolute (K and ºR), both ºC, or both
ºF. No other combinations are allowed.
-
Access:
Flags:
Numerical Results (-3)
Input/Output:
+, *, /, =
3-222 Full Command and Function Reference
Level 2/Argument 1
Level 1/Argument 2
z
1
[ array ]
1
z
'symb'
'symb
'
1
#n
1
n
1
#n
1
x
_unit
1
1
'symb'
x_unit
, y
) and (x
, y
) is (x
– x
1
1
2
2
1
z
2
[ array ]
2
'symb'
z
'symb
'
2
n
2
#n
2
#n
2
y_unit
2
x_unit
'symb'
, y
– y
).
2
1
2
Level 1/Item 1
z
– z
1
2
[ array ]
1–2
'z – symb'
'symb – z'
'symb
– symb
'
1
2
#n
3
#n
3
#n
3
(x
– y)_unit
2
2
'symb – x_unit'
'x_unit – symb'