kill(all)$

van=facebook.com/LearningCalculus$

g[i]:=sin(i*x)/sin(x);

create_list(g[i],i,1,3);

'integrate(%,x, 0, %pi)=integrate(%,x, 0, %pi);