Given A=⎣⎡104−2⎦⎤ and B=[6−7−18] , find AB and BA .
AB=
BA=
Hint: Matrices need to be entered as [(elements of row 1 separated by commas), (elements of row 2 separated by commas), (elements of each row separated by commas)].
Example: C=[142536] would be entered as [(1, 2, 3), (4, 5, 6)]