Given A = ⎣⎡1042⎦⎤ and B = [6−7−18] , find AB and BA .
Hint: To enter a matrix answer, it needs to be in the following format: [(elements of row 1 separated by commas), (elements of row 2 separated by commas), (elements of last row separated by commas)]
For example: C = [142536] is entered as [(1, 2, 3,), (4, 5, 6)]