|A few simple HP 35s programs|
Message #1 Posted by Lode on 3 July 2011, 5:14 p.m.
I made a few simple programs for the HP 35s which make it a little bit better imho :)
I tried to let each one keep as much of the original stack as possible intact, this didn't succeed for every function however.
There are: extract im/re, ->R, ->P, lambertw, complex loggamma, complex conjugate, complex asin/acos/atan and complex sqrt.
They're almost all located on or near a key where either a function is similar, or the letter is a good mnemonic.
The polar/rect and lambertw ones were inspired by posts from here but made simpler.
What do you think of the programs?
Got any tips to improve them?
Are there any HP-35s related resources for other useful programs or programming tips and techniques? I found the Matrix Multitool which is very nice, but for the rest I only find surveying related programs...
Any ideas for *games* that can be programmed on a device like this?
//Get re in x and im in y. Located on the imaginary number key.
//Complex conjugate, on the +/- key
//LambertW, on the W key. Makes a mess of the stack.
//LambertW helper function (too bad this costs a whole label, why can't you give line numbers to SOLVE??)
//Polar to rect, on the R key representing ->R
//Rect to polar, on the S key because it's next to the R. Unfortunately lets the oldest stack value get lost.
//Complex loggamma, on the z key which is above '!'.
//Square root of complex numbers, on the square root key
//Complex asin, on the sin key (why doesn't it support this by default anyway?)
//Complex acos, on the cos key
//Complex atan, on the tan key