Skip to content

Script in command line to compute chemical balancing with powerful auto syntax parsing.

Notifications You must be signed in to change notification settings

steven-yang-1/auto-chemical-balancing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Auto Chemical Balancing

This software runs inside a command line window.

With a powerful syntax engine.

Environment and Interpretor: Python 3.11

For example:

Input: C3H8 + O2 ---> CO2 + H2O

Output: C3H8 + 5O2 ---> 3CO2 + 4H2O

Input: CH4 + O2 ---> CO2 + H2O

Output: CH4 + 2O2 ---> CO2 + 2H2O

Input: CaCO3 ---> CaO + CO2

Output: CaCO3 ---> CaO + CO2

化学配平

本软件具有语法自动识别引擎,可以直接输入实现配平任意化学反应式。

解释器环境Python 3.11

例,输入:C3H8 + O2 ---> CO2 + H2O 输出:C3H8 + 5O2 ---> 3CO2 + 4H2O

例,输入:CH4 + O2 ---> CO2 + H2O 输出:CH4 + 2O2 ---> CO2 + 2H2O

例,输入:CaCO3 ---> CaO + CO2 输出:CaCO3 ---> CaO + CO2

注:

1)输入部分中间的箭头的“-”符号可以任意多个,但一定要写成诸如“--->”的形式。

2)请集中注意力输入,注意英文O(欧)和数字0(零)的区别,不要打错了。

3)我没有输入所有的化学元素,如果有需要但是没有包含的元素,请自行补充。

About

Script in command line to compute chemical balancing with powerful auto syntax parsing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages