Differences between revisions 2 and 3
Revision 2 as of 2010-12-17 06:35:36
Size: 478
Editor: trss
Comment:
Revision 3 as of 2010-12-17 20:22:28
Size: 1019
Editor: 10
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:

/* above code has no print for calculated answers */

print " let us take a 3x3 matrix having det= -1 as"
A = matrix([[0,1,0],[1,0,0],[0,0,1]])
print A
print ""
print "determinant of A =",
x = det(A)
print x
x = det(0.5*A)
print "determinant of 0.5*A =",
print x
x = det(-A)
print "determinant of -A =",
print x
x = det(A*A)
print "determinant of A*A =",
print x
x = det(A.inverse())
print "determinant of A^-1 =",
print x
Line 23: Line 46:
   * Ch.Sandeep, student, GITAM University
   * V.Vishnu Sarma, student, GITAM University
  • Book

    Linear Algebra

    Author

    Gilbert Strang

    Edition

A=identity_matrix(3)*(-1)
A.determinant()
(A/2).determinant()
(-A).determinant()
(A**2).determinant()
A.inverse().determinant()

/* above code has no print for calculated answers */

print " let us take a 3x3 matrix having det= -1 as"
A = matrix([[0,1,0],[1,0,0],[0,0,1]])
print A
print ""
print "determinant of A =",
x = det(A)
print x
x = det(0.5*A)
print "determinant of 0.5*A =",
print x
x = det(-A)
print "determinant of -A =",
print x
x = det(A*A)
print "determinant of A*A =",
print x
x =  det(A.inverse())
print "determinant of A^-1 =",
print x

  • Solution by:

    • Vignesh Ganapathiraman, Student, CMI
    • Pooja Kalra, Student, Malwa Institute of Technology
    • T R Shyam Sundar, Student, CMI
    • Sonam Kumar, Student, CMI
    • Ch.Sandeep, student, GITAM University
    • V.Vishnu Sarma, student, GITAM University

Strang-4.2-2-U (last edited 2010-12-18 08:12:07 by ch.sandeep)