LA Chpt.1 Ex.7 published by 박시현

2070 days ago by darkextra

a=var('a') x=vector([a,2,-1,a]) y=vector([a,2,3,2]) xy=[x[i]*y[i] for i in range(4)] print xy 
       
[a^2, 4, -3, 2*a]
[a^2, 4, -3, 2*a]
solve ([a^2+2*a+1],a) 
       
[a == -1]
[a == -1]