HP (Hewlett-Packard) 30B Calculator User Manual


 
Mathematical Calculations
19
Random number
Press :f to generate a randomly distributed number between 0 and 1.
Type a number and press
:$:f to store a new seed for random number
generation.
The Math Menu
There are additional functions available in the Math menu. To open the Math menu, press
:s. See Figure 8 for the menu map of the Math menu.
Table 2-4 Shifted Function Mathematical Operations
Keys Description
:p
Calculates sine.
:q
Calculates cosine.
:r
Calculates tangent.
:k
Calculates natural log.
:l
Calculates natural exponent to the power of x.
:m
Calculates square of x.
:n
Calculates square root.
:f
Executes the Random function. Returns a random number in the range 0
<
x
<
1.
:g
Calculates factorial of x (where –253
<
x
<
253). The Gamma function is used to
calculate x! for non-integers or negative numbers.
:i
Calculates the reciprocal.
:d
In Chain or Algebraic mode, recalls the result of the last operation. In RPN mode,
returns the content of the Last Number variable.
:e
Rounds x to the number specified by the display format.