kill(all)$

van=facebook.com/LearningCalculus$

f(x):=floor(sin(x));

create_list((2*n-1)*%pi,n,1,10);

integrate(f(x),x,0,((2*n-1)*%pi))=-n*%pi;