HP 12C#ABA hp 12c_solutions handbook_English_E.pdf - Page 121

KEYSTROKES, DISPLAY, REGISTERS, How many ways can 10 people be seated on a bench if only 4

Page 121 highlights

mPn = -(--m----m------!-n----)--! where m, n are integers and 69 ≥ m ≥ n ≥ 0. Use the following HP-12C program to calculate the number of possible permutations. KEYSTROKES DISPLAY CLEAR 0 0 00 00- 01- 44 0 02- 34 03- 43 3 04- 43 36 05- 45 0 06- 30 07- 43 3 08- 10 09-43, 33 00 n: Unused PV: Unused FV: Unused R1-R.8: Unused REGISTERS i: Unused PMT: Unused R0: n 1. Key in the program. 2. Key in m and press . 3. Key in n and press to calculate mPn. 4. For a new case go to step 2. Example: How many ways can 10 people be seated on a bench if only 4 seats are available? Keystrokes Display 120

  • 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
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165

120
where
m
,
n
are integers and 69
m
n
0.
Use the following HP-12C program to calculate the number of possible
permutations.
1.
Key in the program.
2.
Key in
m
and press
3.
Key in
n
and press
to calculate
m
P
n
.
4.
For a new case go to step 2.
Example:
How many ways can 10 people be seated on a bench if only 4
seats are available?
KEYSTROKES
DISPLAY
CLEAR
00-
0
01-
44
0
02-
34
03-
43
3
04-
43 36
0
05-
45
0
06-
30
07-
43
3
08-
10
00
09-43, 33 00
REGISTERS
n: Unused
i:
Unused
PV: Unused
PMT: Unused
FV: Unused
R
0
:
n
R
1
-R
.8
: Unused
Keystrokes
Display
mPn
m
!
m
n
(
)
!
-------------------
=