Natural Sciences >> ChemistryUtilizing Matrices in JavaScript to Balance a Chemical Reactionby Sebastian Arbelaez
Submitted : Spring 2022
This project sought to create an algorithm that is able to balance chemical equations. This was done by utilizing javascript and the math.js library to create and manipulate matrixes. The equation was converted into a matrix and is solved, however it must be modified into a square matrix before it can be handled and solved. This is taken care of by the algorithm which assigns one of the variables to be 1. The algorithm worked successfully and was able to produce the correct coefficients when tested. This mathematics and technology has the potential to be applied to much more in the future.
|