Procedure Simlutaneous equations can be easily solved using EXCEL
Assume that we have three equations in three unknowns, p1, p2, p3 Equations These three equations can be arranged in to a matrix form, where, all the coefficients on the left hand side will form a matrix, let us say, A the variables can be arranged into a vector P. The right hand side can also be arranged into another vector, say, R. We can solve this matrix equation as, There is an EXCEL function for inverting the matrix: MINVERSE(array) Similarly, there is function for multiplying two matrices: MMULT(array1,array2) Using these two functions, we can get the required result. To get the 3 values of "p" as a vector, select three cells in a column and type the command: "=mmult( minverse(array1), array2) <ctrl+shift+Enter>" where, "array1" represents the cell range for matrix A, and "array2" represents the cell range for vector R Note that you must select three cells in a column to get the three values p1, p2, and p3 You must also press <ctrl+shift+Enter> instead of simply entering the formula This will generate the entire solution at once. Do not select only one cell and try to drag the formula down. i=1 i=2 i=3 P R This is in the form Eq.1 92.5 -62.5 0 p1 27000 Eq.2 -62.5 237.5 -175 p2 0 Therefore, Eq.3 0 -175 450 p3 0 Doing this, the solution is given by: p1 388.7873 p2 143.4051 p3 55.76866 Note that the three equations must be solved simultaneously. All the unknown values of p will come out of this somultaneous equation solution. R P A = R A P 1 = 3 8 5 10 5 7 9 21 3 2 3 2 1 2 1 = = + + = + p p p p p p p R p A p p p =
( ( (
3 10 9 8 5 0 1 5 7 0 1 21 3 2 1
( ( (
3 10 9 8 5 0 1 5 7 0 1 21 1 3 2 1 1 p p p R A p 92.5 237.5 -175 450 5500