matrix competencies
3 | 4 | 9.8 |
17 | 5.55 | 3.14159 |
2.71828 | 1 | 0 |
-5 | 8 | 4 |
Array elements are identified by row and column indexes. The table above has 4 rows 3 columns. each element in the table can be accessed by a row and column index. For example the element -5 is at row 3 and column 0.
|
+ |
|
= |
|
||||||||||||||||||||||||||||||||||||
[A] |
+ | [B] |
= | [C] |
|
x |
|
= |
|
|||||||||||||||||||||||||||
[A] |
x | [B] |
= | [C] |
3.
Magic squares are squares that contain numbers arranged in such a way that all the rows columns and the two diagonals add up to the same number.
Here is an example of a magic square of size 3:
6 | 1 | 8 |
7 | 5 | 3 |
2 | 9 | 4 |
and an example of a magic square of size 5:
15 | 8 | 1 | 24 | 17 |
16 | 14 | 7 | 5 | 23 |
22 | 20 | 13 | 6 | 4 |
3 | 21 | 19 | 12 | 10 |
9 | 2 | 25 | 18 | 11 |