Differences between revisions 1 and 2
Revision 1 as of 2010-08-12 18:51:58
Size: 426
Editor: PraveenKumar
Comment: used inverse method instead of the gauss elimination
Revision 2 as of 2010-08-12 18:52:19
Size: 426
Editor: PraveenKumar
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 ||'''Edition'''|| 8th Edition ||  ||'''Edition'''|| 5th Edition ||
  • Book

    Advanced Engineering Mathematics

    Author

    Erwin Kreyszig

    Edition

    5th Edition

a=matrix([[1,1/2,1/3],[1/2,1/3,1/4],[1/3,1/4,1/5]])#coefficient matrix
c=a^-1 #inverse if matrix a
b=matrix(QQ,[[1,0,0]]) #defining the constants matrix
d=c*b.transpose()
print d

  • Solution by:

    • Praveen Kumar,Student,IIT Roorkee

SageDays/Kreyszig-20.3-9 (last edited 2010-08-12 18:52:19 by PraveenKumar)