Differences between revisions 1 and 2
Revision 1 as of 2010-12-15 13:01:51
Size: 685
Editor: 172
Comment:
Revision 2 as of 2010-12-17 12:26:18
Size: 648
Editor: 172
Comment:
Deletions are marked like this. Additions are marked like this.
Line 34: Line 34:
   * <Archana>, <Student>, <SNIST>
   * <Swetha>, <Student>, <SNIST>
   
   * <Krishna>, <Student>, <SNIST>
  
  • Book

    Advanced Engineering Mathematics

    Author

    Erwin Kreyszig

    Edition

    8th Edition

A=matrix(QQ, [[0,8,2],[3,5,2],[6,2,8]])
print A
b=vector([-7,8,26])
B=matrix([b])
C=A.augment(B.transpose())
print C
C.add_multiple_of_row(2,1,-2)
print C
C.add_multiple_of_row(2,0,1)
print C
C.rescale_row(2, 1/6)
print C
C.rescale_row(0,1/8)
print C
C.rescale_row(1,1/3)
print C
z=C[2,3]
y=C[0,3]-C[0,2]*z
x=C[1,3]-C[1,1]*y-C[1,2]*z
print x,y,z

  • Solution by:

    • <Sri Valli>, <Student>, <SNIST>

    • <Krishna>, <Student>, <SNIST>

Kreyszig-18.1-1 (last edited 2010-12-17 12:26:18 by 172)