van=facebook.com/LearningCalculus$

M(x):=matrix([1,x,x^2],[x,x^2,1],[x^2,1,x]);

determinant(M(w));

determinant(M(x));

solve(%,x);