Book
Linear Algebra
Author
Gilbert Strang
Edition
a = var('a')
b=var('b')
c=var('c')
d=var('d')
A = matrix([[a,b],[c,d]])
D = matrix ([[2,0],[0,5]])
print A*D
print " columns of AD are multiplied by 2 and 5 respeectively"
print ""
print D*A
print " rows of DA are multpilied by 2 and 5 respectively "
Solution by:
- Ch.Sandeep, student, GITAM University
- V.Vishnu Sarma, student, GITAM University
