The Museum of HP Calculators

HP Forum Archive 13

 simultaneous eqns. on 32sii...anyone?Message #1 Posted by Eric Lundgren on 8 Oct 2003, 4:02 p.m. I've written a 2 equation in 2 vars program in 36 bytes, in the form of Ax+By=C & Dx+Ey=F. Has anyone pulled off a shorter one? I would hope to get it up to 4eqn/4var without having a massive memory brunch. I'm also searching for any known space saving tricks like performing one operation on several (3 or more) values at once, or more than one operation on one value, for example: input, sqre, + A,B,C to individually recall, square, and then add the results. (I know this won't work if I enter as is) It currently takes me ten lines to input, perform, and store this in a variable. In light of the massive storage capacity offered by models like the 48gx/49G/G+ I am really enjoying the experience of managing stuff in limited space. I analog it to learning the value of a dollar, like dad always said. back to the kbd. eric

 Re: simultaneous eqns. on 32sii...anyone?Message #2 Posted by Karl Schneider on 9 Oct 2003, 12:08 a.m.,in response to message #1 by Eric Lundgren Eric -- Nah, I haven't tried to write an optimal linear-systems solver for the 32Sii. Why do so, if one has other models with the capability built in, as well as Matlab on the workplace PC? Even the 20S has a 3x3 solver, but you'll probably need to consult the manual to run it, and you'll lose any programming and memory contents. I'd invest the effort in mastering your new-used 15C. On an EE midterm exam in 1991, I was able to solve a three-loop AC ladder network as a set of three simultaneous equations using a 3x3 complex system matrix, and then manipulate the complex-valued solutions in complex mode. The students using calc's without these two built-in features would have had to "collapse the ladder" with laborious manual calculations.

 Re: simultaneous eqns. on 32sii...anyone?Message #3 Posted by Valentin Albillo on 9 Oct 2003, 10:02 a.m.,in response to message #1 by Eric Lundgren Have a look at these HP32SII links: Anyway, perhaps you should try an HP-15C instead. It can solve linear systems up to 7x7, with no programming necessary, in just a few seconds. Best regards from V. Edited: 9 Oct 2003, 10:04 a.m.

 Re: simultaneous eqns. on 32sii...anyone?Message #4 Posted by eric lundgren on 9 Oct 2003, 2:25 p.m.,in response to message #3 by Valentin Albillo Thanks for the links Valentin, My two equation system solver is shorter (36 byte vs. their 45 byte) BUT! I was very VERY happy to learn a new way to enter values. I noticed that they forgot the last step RTN, as their program doesn't seem to run well without it. Thank you for the links though, I found them useful. Btw, do you know of other resources for purely 32sii users? eric

 32SIIMessage #5 Posted by Tizedes Csaba on 12 Oct 2003, 6:20 p.m.,in response to message #4 by eric lundgren Hi Eric, I'm not 'purely' 32SII user, but I use day-to-day this machine. I alvays send programs for this machine, and you'll seeing thats on HPMuseum, if Dave will refreshing his pages! ;) If you want to lettering about this machine, I'm ready! :) Csaba

Go back to the main exhibit hall