function res = integre( f,n )

pp = P(n);
l = 2^n;

val = f(pp);

res = 2^(-n)*sum(val);



end

