HP 30b HP 20b Business Consultant and HP 30b Business Professional User's Guid - Page 27

Random number, The Math Menu, n - rounding

Page 27 highlights

Table 2-4 Shifted Function Mathematical Operations Keys :p Description 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
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114

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.