Post Reply 
How do you like the Woodstock calculators?
04-01-2022, 05:20 PM (This post was last modified: 04-02-2022 09:33 AM by Tom Flatterhand.)
Post: #36
RE: How do you like the Woodstock calculators?
Hi Thomas,

(04-01-2022 01:02 AM)Thomas Klemm Wrote:  You might enjoy: EE calculations, some not obvious

thanks for your reference to the interesting methods of doing electronics with a programmable calculator! But although I once learned to be a radio electronics engineer, I have been working as a computer scientist for over 30 years. Therefore I use formulas from electronics only very rarely. Only here I have again taken a little further:

https://steinlaus.de/licht-messen-mit-de...ngsteiler/

I hope it's all true what I wrote there. :-)

Because of your short GGT code I felt obliged to program the GGT again. :

Code:
01 15 13 00 : LBL 0
02    23 02 : STO 2
03       21 : x<>y
04    23 01 : STO 1
05       71 : /
06    14 62 : INT
07    24 01 : RCL 1
08       61 : x
09    24 02 : RCL 2
10       21 : x<>y
11       41 : -
12    15 71 : x=0?
13    13 01 : GTO 1
14    24 01 : RCL 1
15    13 00 : GTO 0
16 15 13 01 : LBL 1
17    24 01 : RCL 1
18    15 12 : RTN

This variant has one less step but requires registers. However, I have to enter the small number first and then the big one. So:

Example

42
Enter
93
GSB 0
3.00


And here is another variant without the use of registers. But the variant is just as long as yours.:

Code:
01 15 13 00 : LBL 0
02       21 : x<>y
03       31 : ENTER
04       22 : R˅
05       22 : R˅
06       21 : x<>y
07       22 : R˅
08       71 : /
09    14 73 : LAST X
10       31 : ENTER
11       22 : R˅
12       21 : x<>y
13    14 62 : INT
14       61 : *
15       41 : -
16    15 61 : x<>0?
17    13 00 : GTO 0
18       22 : R˅
19    15 12 : RTN

Example

98
Enter
35
GSB 0
7.00


I wanted to note that I used a DM42 for the initial ideas for handling the stack, since I have an overview of the stack there. The actual program then developed with the 'go34c' app on a smartphone and only after completion tested the program on my HP-34C. An editor for first algorithm ideas was also still in the game. :-)
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How do you like the Woodstock calculators? - Tom Flatterhand - 04-01-2022 05:20 PM



User(s) browsing this thread: 1 Guest(s)