1 страниц (8 вхождений)
Balancing chemical equations - Сообщения
#1 Опубликовано: 03.12.2020 21:53:15
Hi. In the attached a procedure for balancing chemical equations, in a first try. It have not bugs, it have errors. But could be interesting.
ChemBal.sm (68 КиБ) скачан 105 раз(а).
ChemBal.pdf (147 КиБ) скачан 123 раз(а).
Best regards.
Alvaro.
ChemBal.sm (68 КиБ) скачан 105 раз(а).
ChemBal.pdf (147 КиБ) скачан 123 раз(а).
Best regards.
Alvaro.
#2 Опубликовано: 03.12.2020 22:48:15
WroteHi. In the attached a procedure for balancing chemical equations, in a first try. It have not bugs, it have errors. But could be interesting.
ChemBal.sm (68 КиБ) скачан 105 раз(а).
ChemBal.pdf (147 КиБ) скачан 123 раз(а).
Best regards.
Alvaro.
Wooooo

Wooooo This super cool and very interesting, I wrote a balance of "glucose" to produce "ethanol", apparently it works well for some reactions, although for this example of sucrose I can't find how to put it
[albumimg]1625[/albumimg]
#3 Опубликовано: 03.12.2020 23:08:37
Wrote...I wrote a balance of "glucose" to produce "ethanol", apparently it works well for some reactions, although for this example of sucrose I can't find how to put it
[albumimg]1625[/albumimg]
Hi. Thanks. I guess you can't balance that. Wolfram alpha can't too:
If you add some water then you have this:
which agrees with SMath:
Best regards.
Alvaro.
#4 Опубликовано: 03.12.2020 23:19:43
Balancing chemical is difficult to near not feasible.
In Smath Community, super champion is Radovan [Martin as well].
We have few more and lots of those ... read first to get geared.
Solve Diophantine X_Y Plot.sm (21 КиБ) скачан 78 раз(а).
Solve Diophantine Chemical Balance.sm (47 КиБ) скачан 86 раз(а).
Solve Given_Find [CO2_6179 Butler].sm (163 КиБ) скачан 76 раз(а).
Solve Diophantine.sm (168 КиБ) скачан 73 раз(а).
In Smath Community, super champion is Radovan [Martin as well].
We have few more and lots of those ... read first to get geared.
Solve Diophantine X_Y Plot.sm (21 КиБ) скачан 78 раз(а).
Solve Diophantine Chemical Balance.sm (47 КиБ) скачан 86 раз(а).
Solve Given_Find [CO2_6179 Butler].sm (163 КиБ) скачан 76 раз(а).
Solve Diophantine.sm (168 КиБ) скачан 73 раз(а).
#5 Опубликовано: 05.12.2020 07:44:05
Improved version. Now it can handle reactions with ions balancing charges and accept parenthesis into compounds. Also, the procedure for rationalize it's more robust.
ChemBal v2.pdf (350 КиБ) скачан 116 раз(а).
ChemBal v2.sm (143 КиБ) скачан 140 раз(а).
Best regards.
Alvaro.
ChemBal v2.pdf (350 КиБ) скачан 116 раз(а).
ChemBal v2.sm (143 КиБ) скачан 140 раз(а).
Best regards.
Alvaro.
#6 Опубликовано: 05.12.2020 14:22:09
#7 Опубликовано: 07.12.2020 00:36:47
Wrote... more chemical balance from PseudoInverse.
Matrix PseudoInverse.sm (123 КиБ) скачан 75 раз(а).
Hi Jean. The purpose of this post is to show the power of use the null space of the matrix of coefficients of a chemical reaction for get information about it, not just only balancing. For do that, because it is tedious to introduce by hand this matrix, I write a simple code for do that, with some limitations but it can handle one level of parenthesis and ions. Also isn't easy to transform a vector for the nulls space with norm one into an equivalent basis vector with integers, and there are not much literature about that, or I can't found it. I also present a robust way to get a valid answer in a lot of cases.
I don't know why you introduce fractional coefficients in your chemical reaction, but I will show them later. Here you first example balanced in a few steps, balancing your first example with integers, as usual.
Notice that all coefficients in the matrix are positive and the null space method place by itself reactants and products. For the cases with a big dimension for the null space basis that give a precious information about the reaction.
This is the math involved. The pseudinverse or the row reduced skeleton form and others methods have not the theoretical power of the null space. The routine for find the null space use the plugin dot numerics for get the singular value decomposition for the compounds matrix. So the real math involved could be very complicate, but for instance this is the procedure for solve the problem "by hand"
Here is your second example, again, with integers coefficients.
If you're not convinced yet about what I'm talking about, here are your two examples with decimals in the compositions, solved with integers coeffs for the balanced equation.
Files:
ChemBal v2 Jeean.sm (101 КиБ) скачан 77 раз(а).
ChemBal v2 Jeean.pdf (154 КиБ) скачан 69 раз(а).
ChemBal v2 Jeean with decimals.sm (101 КиБ) скачан 90 раз(а).
ChemBal v2 Jeean with decimals.pdf (159 КиБ) скачан 66 раз(а).
Best regards.
Alvaro.
#8 Опубликовано: 08.12.2020 18:13:50
Thanks Alvaro for your personally addressed documents.
I understand your superb approach. There was an international Standard
way to write chemical balance. I'm not update on that.
The fractional in the matrix come from the originator paper [Risteski].
It may have to do with some secret perfume recipes ?
The attached exploded version accommodates Table region.
Have a good day ... Jean
Matrix PseudoInverse Explode.sm (222 КиБ) скачан 73 раз(а).
I understand your superb approach. There was an international Standard
way to write chemical balance. I'm not update on that.
The fractional in the matrix come from the originator paper [Risteski].
It may have to do with some secret perfume recipes ?
The attached exploded version accommodates Table region.
Have a good day ... Jean
Matrix PseudoInverse Explode.sm (222 КиБ) скачан 73 раз(а).
1 страниц (8 вхождений)
-
Новые сообщения
-
Нет новых сообщений