LA.Ch7.P16.SC.Kim

2039 days ago by seongchan

A=matrix(5, 5, [1, 1, 1, 1, 1, 1, 2, 4, 8, 16, 1, 3, 9, 27, 81, 1, 4, 16, 64, 256, 1, 5, 25, 125, 625]) b=matrix(5, 1, [5, 1, -3, 1, 2]) print "A.inverse()*b=" print A.inverse()*b 
       
A.inverse()*b=
[    -18]
[  201/4]
[-857/24]
[   37/4]
[ -19/24]
A.inverse()*b=
[    -18]
[  201/4]
[-857/24]
[   37/4]
[ -19/24]