k=var('k')
a=matrix([[k,1],[4,k]])
print a
a.det()
solve(a.det(),k)
a.pivots()
a=matrix([[1,1],[4,2]])
print a
a.swap_rows(1,0)
print a
a.pivots()

*<yedukondalu>, <student>, <Prakasam engineering College>

Strang-1.4-24-U (last edited 2010-12-18 12:06:58 by 10)