Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2010-12-15 12:35:24
Size: 300
Comment:
Revision 3 as of 2010-12-17 10:44:44
Size: 445
Editor: jejiramchand
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:

var('mat,vec')

mat=matrix([[4,2],[1,8]])

vec=vector([3,5])

mat*vec
{{{{
A=matrix([[4,3],[7,2],[9,0]])
B=matrix([[2,5],[1,6]])
print A
print '-------'
print B
print '-------'
print A*B
print 'B*A is not posible'
}}}}
Line 18: Line 20:
   * Shaik Allauddin, IIIT-H    * V.J.Ramchand, Student, GITAM University
   * G.Vamsi krishna, Student, GITAM University
  • Book

    Advanced Engineering Mathematics

    Author

    Erwin Kreyszig

    Edition

    8th Edition

A=matrix([[4,3],[7,2],[9,0]])
B=matrix([[2,5],[1,6]])
print A
print '-------'
print B
print '-------'
print A*B
print 'B*A is not posible'

  • Solution by:

    • V.J.Ramchand, Student, GITAM University
    • G.Vamsi krishna, Student, GITAM University

Kreyszig-6.2-1 (last edited 2010-12-17 10:44:44 by jejiramchand)