Hello,
It is not a bug, it is the SMath feature. You've got the scalar product of two vectors.
[MATH=eng]x*x=385[/MATH]
If you want the elemental operation - you should use loops
[MATH=eng]for(i,range(1,length(x)),el(y,i):el(x,i)^2)[/MATH]
[MATH=eng]y=mat(1,4,9,16,25,36,49,64,81,100,10,1)[/MATH]
or Maxima plugin
[MATH=eng]Maxima(f(x))=mat(1,4,9,16,25,36,49,64,81,100,10,1)[/MATH]
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"