(42S) Quadratic formula - stack only
|
04-01-2018, 09:22 PM
Post: #1
|
|||
|
|||
(42S) Quadratic formula - stack only
A few years after I graduated I put my Hp 42S in a drawer. It slowly drained it's batteries. All the programs I spent so much time writing were gone and it just laid the for about 15 years. But, recently I screwed myself on some important thing using a windows calculator. So I invested some cash in a pack of LR44 batteries and in a few minutes I was back in a RPN world. A few hours later I started rewriting my library. Here is current iteration of my quadratic formula quadratic equation solver. I know this was done many times but as it is now, I find it simple and useful. Main goals were:
- do not use registers - try to use only only stack - after presenting results in readable form preserve both solution in Y and X register. So here it is: Code:
In the past I did write some programs to so symbolic algebra and equation solving, symbolic integration, simplification and factorization of algebraic expression… all the sweeties that 42S lacked right from the box. I just have to find all my paper notes somewhere in the drawers. |
|||
04-01-2018, 10:40 PM
Post: #2
|
|||
|
|||
RE: (42S) Quadratic formula - stack only
(04-01-2018 09:22 PM)anderson Wrote: In the past I did write some programs to so symbolic algebra and equation solving, symbolic integration, simplification and factorization of algebraic expression… all the sweeties that 42S lacked right from the box. I just have to find all my paper notes somewhere in the drawers. First, welcome to the forum. Second, thanks for sharing this 42S program. The 42S is quite a hot topic at the moment, as SwissMicros has recently introduced a modern version called the DM42, based on Thomas Okken's excellent Free42 Simulator, with a huge LCD, easy connection to the PC, improved Alpha keyboard and many other improvements. Look around the forum and you'll see lots of discussion and excitement about the DM42. Also, we look forward to seeing some of the programs you mention; those are topics not typically covered so they should lead to a lot of discussion. --Bob Prosperi |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)