First time here? Check out the FAQ!
answered 2012-04-30 07:16:36 +0100
You need a matrix that can handle symbolic expressions
M = matrix(SR,2,2) #m.zeros((2,2)); for i in range(2): for j in range(2): M[int(i),int(j)] = sol[s[i]]+ sol[s[j+2]] show(M)