cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Balancing Chemical Equations

ViktorKorobov
14-Alexandrite

Balancing Chemical Equations

I am using a matrix method for balancing a chemical equations. As a result, I get a vector x, which contains a set of non-integer numbers. Next, I need this vector is multiplied by a number Y, to obtain a set of integers. Total sum of these integers should be as small as possible.
How do I calculate the number Y?
See the picture and Mathcad worksheet in attach.

050112.GIF

Viktor

Viktor
ACCEPTED SOLUTION

Accepted Solutions

A brute force approach

View solution in original post

3 REPLIES 3

In this case, not even enough constraints on the coefficients in the matrix "Coeffs".

A brute force approach

Thank you, Mr. Fred!
It really works!

Viktor
Announcements

Top Tags