Chemical equation balancer... from Classpad basic to the web
2 posts
• Page 1 of 1
- helder7
- Senior Member
- Posts: 369
- Joined: Tue Jan 03, 2012 11:24 pm
- Calculators: Casio Afx 1.0, Casio fx-9860GII SD, Casio Classpad 330, Casio fx-CG20, Casio Classpad fx-CP400
Chemical equation balancer... from Classpad basic to the web
In September, I released the BCEB (basic chemical equation balancer) for fx-cp400.
Since the Classpad basic is a bit limited (no regex, no functions, is slow) I reached a point where becomes difficult to continue to improve the program, with version 0.3.
Recently I decided to continue with the development of the project, having as target the web. The current version is theoretically capable of solving any chemical equation and features the following characteristics:
-Support for molecules with charges/ions
-Support for free charges/ions
-Support for non-real elements (new!)
-Can balance equations with parenthesis, without being expanded manually (new!)
-Support for equations with crystals and multiple chains of crystals (new!)
-Added a way to calculate dynamically the number of moles and mass in reaction (new!)
-Colored output and subscript ions (new!)
The current version is available in:
I have tested the current version with many equations without encountering any problem, however if you find any, feel free to report it. The regex is sometimes unpredictable and is impossible to test all the equations that exist.
Since the Classpad basic is a bit limited (no regex, no functions, is slow) I reached a point where becomes difficult to continue to improve the program, with version 0.3.
Recently I decided to continue with the development of the project, having as target the web. The current version is theoretically capable of solving any chemical equation and features the following characteristics:
-Support for molecules with charges/ions
-Support for free charges/ions
-Support for non-real elements (new!)
-Can balance equations with parenthesis, without being expanded manually (new!)
-Support for equations with crystals and multiple chains of crystals (new!)
-Added a way to calculate dynamically the number of moles and mass in reaction (new!)
-Colored output and subscript ions (new!)
The current version is available in:
- Code: Select all
http://casiopeia.net/balance-tmp/
I have tested the current version with many equations without encountering any problem, however if you find any, feel free to report it. The regex is sometimes unpredictable and is impossible to test all the equations that exist.
SiO2 + CaCO3 ----------> CaSiO3 + CO2
- helder7
- Senior Member
- Posts: 369
- Joined: Tue Jan 03, 2012 11:24 pm
- Calculators: Casio Afx 1.0, Casio fx-9860GII SD, Casio Classpad 330, Casio fx-CG20, Casio Classpad fx-CP400
Re: Chemical equation balancer... from Classpad basic to the
I have been fixing some small bugs that have been found on web version. I think they have all been fixed.
Now the next challenge will be improve the error detection system...
Now the next challenge will be improve the error detection system...
SiO2 + CaCO3 ----------> CaSiO3 + CO2
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 18 guests