C29

Doing the computations by hand, find the determinant of the matrix A

A <- matrix(c(2, 3, 0, 2, 1, 0, 1, 1, 1, 2, 0, 0, 1, 2, 3, 0, 1, 2, 1, 0, 0, 0, 0, 1, 2), nrow = 5)
A
##      [,1] [,2] [,3] [,4] [,5]
## [1,]    2    0    0    0    0
## [2,]    3    1    0    1    0
## [3,]    0    1    1    2    0
## [4,]    2    1    2    1    1
## [5,]    1    2    3    0    2
det(A)
## [1] 2