Chemistry Balancer Skill
Balances chemical equations and calculates stoichiometric ratios, molar masses, and theoretical yields.
Usage
python3 -c "
# Molar mass of H2O
H, O = 1.008, 15.999
print(f'H2O molar mass: {2*H + O:.3f} g/mol')
"
Examples
- "Balance Fe + O2 -> Fe2O3" -> Provides balanced equation 4Fe + 3O2 -> 2Fe2O3
- "Calculate molar mass of glucose" -> Sums atomic masses for C6H12O6
- "How much product from 10g reactant?" -> Calculates theoretical yield
Guidelines
- Always verify atom counts on both sides after balancing
- Show coefficients clearly in the balanced equation
- Include state symbols (s, l, g, aq) when relevant