1.

Compute AB and BA, whichever exists when (i) `A=[{:(2,-1),(3," "0),(-1," "4):}]" and "B=[{:(-2,3),(0,4):}]` (ii) `A=[{:(-1,1),(-2,2),(-3,3):}]" and "B=[{:(" "3,-2," "1),(" "0," "1," "2),(-3," "4,-5):}]` (iii) `A=[{:(0,1,-5),(2,4," "0):}]" and "B=[{:(1,3),(-1,0),(0,5):}]` (iv) `A=[1" "2" "3" "4]" and "B=[{:(1),(2),(3),(4):}]` (v) `A=[{:(2,1),(3,2),(-1,1):}]" and "B=[{:(1,0,1),(-1,2,1):}]`

Answer» (i) `AB=[{:(-4,2),(-6,9),(2,13):}]` and BA does not exist.
(ii) `BA=[{:(-2," "2),(-8," "8),(10,-10):}]` and AB does not exist.
(iii) `AB=[{:(-1,-25),(-2," "6):}]" and "BA=[{:(6,13,-5),(0,-1," "5),(10,20," "0):}]`
(iv) `AB=[30]" and "BA=[{:(1,2,3,4),(2,4,6,8),(3,6,9,12),(4,8,12,16):}]`
(v) `AB=[{:(1,2,3),(1,4,5),(-2,2,0):}]" and "BA=[{:(1,2),(3,4):}]`


Discussion

No Comment Found

Related InterviewSolutions