Book
Linear Algebra
Author
Gilbert Strang
Edition
#FOR A2
A2=matrix([[0,1],[1,0]])
A2.det()
#DET IS -1
#FOR A3
A3=matrix([[0,1,1],[1,0,1],[1,1,0]])
A3.det()
#DET IS 2
#FOR A4
A4=matrix([[0,1,1,1],[1,0,1,1],[1,1,0,1],[1,1,1,0]])
a4=A4.det()
#DET IS -3
#FOR A5
A5=matrix([[0,1,1,1,1],[1,0,1,1,1],[1,1,0,1,1],[1,1,1,0,1],[1,1,1,1,0]])
a5=A5.det()
#DET IS 4
.
.
.
.
.
BASED ON ABOVE RESULTS WE CAN PREDICT THE VALUE OF "An"
as follows:
if n is even then det is "-(n-1)"
if n is odd then det is "(n-1)"
Solution by:
<amar>, <student>, <mlec>
<praveen>, <student>, <mlec>
<naveen>, <student>, <mlec>
