# Problem # 2
A <- matrix(c(1,2,-1,2,1,1,-3,-3,0),ncol=3)
det(A)
## [1] 0
#Since the determinant is 0, the matrix is not invertible.
#As such, the linear equation is not solvable
# Problem # 4
A <- matrix(c(4, -3, 0, -3, 5, 1),ncol=2)
B <- matrix(c(1,3,4,-2),ncol=2)
A%*%B
## [,1] [,2]
## [1,] -5 22
## [2,] 12 -22
## [3,] 3 -2