One day I just got so annoyed by systems of linear equations that I said "
Screw it, it'll take me less time to create a program that does these things for me than to do it all out by hand."
Unfortunately, the resultant QBasic program is not very good for doing math homework as it shows no work to copy from, but it still works pretty good and I like it. There are actually two programs, one for 2-variable systems and one for 3-variable systems. Use as directed, shake well before opening. Stick it on your laptop and tote it around school or work with you. What's that, you don't have a laptop? You poor soul.
Fullscreen your DOS window if you want the fraction-reducing status to be repainted more often.
Source code (BAS) is included if you want to take a gander at it. I'm currently looking for a way to make the fraction reducing go faster; I recently made some optimizations that quite literally cut reducing time in half, but I get the feeling it could be better. Also recently added is the ability to skip the reducing if you think it's going to take a while.
There is one bug: Occasionally when you get the "
Large number warning"
, it will refuse to respond to your keypresses. If this happens, just keep banging on the key until it does. It's impossible to find the source of the problem since it only happens in about half the test cases I tried, so let's hope it's only the old flakey laptop I coded it on.
And in case you're wondering, I'm NOT slacking off on Beethro's Text Adventure.
[Edited by Sokko on 02-16-2004 at 03:24 PM GMT]
____________________________
How many boards would the Mongols hoard if the Mongol hordes got bored?