kill(all)$

van=facebook.com/LearningCalculus$

h[i,j]:=sin(i*x)^j$

M:genmatrix(h,5,5);

integrate(M,x);