How can I solve a linear equation system in Excel?

I have a system of 22 linear equations (exactly 22 equations and 22 unknowns) that are dynamically generated in an Excel spreadsheet. Is there a way for Excel to solve the system and produce a value for each of the unknown variables?

Another SO question contains a lot of good information about the algorithms used to solve such equations. Cramer's rule in particular seems promising, but I'm not sure how to implement it in Excel.

Any help is appreciated!

+3
source share
6 answers

:

  • nxn .

  • n-tall. n-tall. .

  • , = ( (coefficients_matrix_range), constants_vector_range) [CTRL] [SHIFT] [ENTER]. [ENTER].

, (22x22). , , , .

. - , .

+10

! , .

Excel . , python script, excel, ( numpy) , Excel . ( , Excel).

+1

Excel LINEST - , MMULT (MINVERSE (...)...) .

LOGEST, GROWTH TREND.

+1

- , . over/under flow/truncation .., Solver - C VBA.

+1

, , , , .

+1

Source: https://habr.com/ru/post/1732594/


All Articles