def echant(N,n):
    somme = 0
    for k in range(N):
        somme = somme + diff(n)

    return somme / N
