Sum[|x-k|,{k,1,10}]