- Stoichiometry
- 16 Mar 2015 11:51:22 am
- Last edited by Caleb_J on 17 Mar 2015 08:14:17 am; edited 1 time in total
I have been working on a stoichiometry program. If anyone has any ideas or suggestions, please put them here. So far, I have almost completed it, but the conversion from moles to mass at the end is giving me a little bit of trouble. The code is basic enough, but the totals at the end do not come out to what they should be.
Here's the code:
Code:
Will someone please help?
Here's the code:
Code:
Menu("CONVERT TO MASS?","YES",K,"NO",2A
Lbl K
ClrHome
Disp Str2
Disp "INPUT MOLAR MASS OF
Disp "REACTANT USED IN
Disp "CALCULATION
Input ":",E
ClrHome
Disp Str3
Disp "INPUT MOLAR MASS OF
Disp "PRODUCT USED IN
Disp "CALCULATION
Input ":",F
A*E->A
D*F->D
Fix 1
ClrHome
Output(1,1,A
Output(1,7,"GRAMS
Output(1,13,Str2
Output(2,1,D
Output(2,7,"GRAMS
Output(2,13,Str3
Pause
ClrHome
Will someone please help?