10-17-2017, 11:42 AM
Finding the Fibonacci Number by using program on HP 12C
Example: 12 R/S result 144
Result accuracy is best below n<39
Develop the Fibonacci sequence with f1 = 1, f2 = 1
Answer: 1, 1, 2, 3, 5, 8, 13, 21, ...
Program:
Instruction: 1 ENTER 1 R/S result 2 and continue pressing R/S
result 3, 5, 8, 13, 21, 34, 55, 89, 144, ..
Instruction: 89 ENTER 144 R/S result 233 and continue pressing R/S
result 377, 610, 987, ...
To develop Fibonacci Numbers automatically add [PSE] and GTO 01 at the end of the program.
Gamo
Code:
01 ENTER
02 5
03 SQR
04 STO 1
05 ENTER
06 1
07 +
08 2
09 /
10 X<>Y
11 Y^X
12 RCL 1
13 /
14 Fix 0
15 GTO 00
Example: 12 R/S result 144
Result accuracy is best below n<39
Develop the Fibonacci sequence with f1 = 1, f2 = 1
Answer: 1, 1, 2, 3, 5, 8, 13, 21, ...
Program:
Code:
ENTER
ENTER
R↓
R↓
+
Instruction: 1 ENTER 1 R/S result 2 and continue pressing R/S
result 3, 5, 8, 13, 21, 34, 55, 89, 144, ..
Instruction: 89 ENTER 144 R/S result 233 and continue pressing R/S
result 377, 610, 987, ...
To develop Fibonacci Numbers automatically add [PSE] and GTO 01 at the end of the program.
Gamo