Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Deep Toaster on September 01, 2010, 05:03:08 pm

Title: AnyForm 83+
Post by: Deep Toaster on September 01, 2010, 05:03:08 pm
And here's another mini-project I picked up again after three months or so: AnyForm for the 83+ (and 84+, of course). Basically, it prompts you for a formula, then parses that formula to give you the information it finds. So far, it supports all stable elements and outputs the following:

So far, it's 3317 bytes (not 1337) (plus 19 for an assembly subprogram that sets LwrCaseActive) and parses the line CuCl2*5H2O in about two seconds. What do you think? Any ideas on what I should add?
Title: Re: AnyForm 83+
Post by: bwang on September 01, 2010, 05:13:49 pm
Demo? Sounds cool, especially since it's so fast :D
Title: Re: AnyForm 83+
Post by: Deep Toaster on September 01, 2010, 05:15:16 pm
Hold on a bit, typing the program into SC right now... :P

EDIT: Never mind, I give up.

EDIT2: Oh, wow, I had a version on the computer all along x.x

Here it is (it might be an earlier version):
Title: Re: AnyForm 83+
Post by: meishe91 on September 01, 2010, 05:27:03 pm
So I take it this is a chemistry program? Sounds nice.
Title: Re: AnyForm 83+
Post by: Deep Toaster on September 01, 2010, 05:33:56 pm
Yep, and here's a screenshot (running on a plain 83+):
Title: Re: AnyForm 83+
Post by: coolsnake on September 03, 2010, 09:27:58 am
Oh, I like^^ the more chemistry the better :P
I do have some suggestions on the top of my head but they might not be very feasible.
-Thermodynamic data if known, ΔH, ΔS, ΔG etc.
-All sorts of constants (when applicable), solubility equilibrium, acid, formation of complexes etc
-Reduction potentials
Title: Re: AnyForm 83+
Post by: Deep Toaster on September 03, 2010, 01:20:33 pm
Oh, I like^^ the more chemistry the better :P
I do have some suggestions on the top of my head but they might not be very feasible.
-Thermodynamic data if known, ΔH, ΔS, ΔG etc.
-All sorts of constants (when applicable), solubility equilibrium, acid, formation of complexes etc
-Reduction potentials

Has to be something it can calculate based on just a table of molar masses :P Sorry.

Actually, I have no idea what those things are :D Are any of them easily calculable? I guess I could add an extra small data table. After all, the solubility thing is completely separate from most of the program...
Title: Re: AnyForm 83+
Post by: coolsnake on September 03, 2010, 02:25:59 pm
Nope it's not. :p It's all stuff you would get out of tables and stuff. So yeah that's why it's not very feasible.  ;D
Title: Re: AnyForm 83+
Post by: Deep Toaster on September 03, 2010, 04:28:13 pm
Oh :P Well, here's a separate program that I might add. It's a combustion equation balancer. No need for lowercase since all you need are H, C, and O anyway :)
Title: Re: AnyForm 83+
Post by: Deep Toaster on September 27, 2011, 12:16:58 am
Now that I'm in AP Chem, I really needed to update this thing. So I did.

FORM.8xp is the updated (faster, smaller, better) version of my old AnyForm program. It detects and balances hydrocarbons automatically.

COMB.8xp finds a hydrocarbon forumula from masses of the products (enter 0 for CHO if the hydrocarbon has no oxygen).
Title: Re: AnyForm 83+
Post by: aeTIos on September 28, 2011, 09:47:30 am
WTF. Your program is friggin' fast ! how did you do that?
Title: Re: AnyForm 83+
Post by: Deep Toaster on September 28, 2011, 07:39:37 pm
TI-BASIC is fast.
Title: Re: AnyForm 83+
Post by: ralphdspam on September 28, 2011, 08:20:35 pm
TI-BASIC is fast.
Wow.  I never thought I would hear that.
Title: Re: AnyForm 83+
Post by: boot2490 on September 28, 2011, 08:23:27 pm
LOL
Title: Re: AnyForm 83+
Post by: Deep Toaster on September 28, 2011, 08:37:50 pm
TI-BASIC is fast.
Wow.  I never thought I would hear that.
Now you did. TI-BASIC, I repeat, is fast :)
Title: Re: AnyForm 83+
Post by: boot2490 on September 29, 2011, 07:38:29 pm
*snicker*
TI BASIC is sloooooow
Edit: Page starter AGAIN!!
Title: Re: AnyForm 83+
Post by: Deep Toaster on September 29, 2011, 07:59:16 pm
TI BASIC is sloooooow
That's why I love programming in it. It's so much fun :)
Title: Re: AnyForm 83+
Post by: ztrumpet on September 29, 2011, 08:03:20 pm
TI BASIC is sloooooow
That's why I love programming in it. It's so much fun :)
Me too!  It's the challenge that makes it so rewarding. :D
Title: Re: AnyForm 83+
Post by: FinaleTI on September 29, 2011, 08:33:30 pm
TI BASIC is sloooooow
That's why I love programming in it. It's so much fun :)
Me too!  It's the challenge that makes it so rewarding. :D
I agree wholeheartedly. Most of my favorite little experimental creations come from seeing something implemented one way in BASIC, and trying to think "Can I kick this up a notch or two and still have it run at a decent speed?"
Most of the time, the answer is yes. ;)
Title: Re: AnyForm 83+
Post by: Deep Toaster on September 30, 2011, 09:29:22 pm
Even more fun is when you use obscure math commands to do things TI never intended them to do :D
Title: Re: AnyForm 83+
Post by: mrmprog on September 30, 2011, 09:32:31 pm
Even more fun is when you use obscure math commands to do things TI never intended them to do :D
Isn't that what you are supposed to do in BASIC? :D
Title: Re: AnyForm 83+
Post by: Deep Toaster on October 01, 2011, 12:35:15 am
Wow, good point. I just remembered this thing is a calculator O.O
Title: Re: AnyForm 83+
Post by: boot2490 on October 01, 2011, 05:03:28 pm
Lol sometimes I think it was meant to have games on it. You know? It was never meant to be just a calc.
Title: Re: AnyForm 83+
Post by: Deep Toaster on October 02, 2011, 12:21:44 am
In ACagliano's words that I still hold as gospel, "calculators never were meant for just math."