Objective of the project:
To solve a simultaneous equation consisting of two linear equations using Matrices, the formula:
X = A^-1 * B
Where A is the matrix consisting of the coefficants of the two equations, B is the matrix consisting of the result of the two equations, and X is the matrix consisting of the two variables, x and y.
Language used: HTML and JavaScript in a single file.
The problem:
My first version of the project is here as follows:
When I open it in my browser (Google Chrome latest version), the HTML part works as expected, however, when I click the "Solve" button, it doesn't do anything.
So I tried to use another approach:
But the results are still the same (HTML working fine whereas clicking the "Solve" button does nothing).
Can anyone kindly spend a little bit of their times and try to provide me with a solution to this problem.
Your efforts, your solutions , will be highly appreciated. :-)
P.S : The code is actually not that big.