def variance(X):
    Y = [ ]
    for c in X:
        Y.append( ( c[0]**2 , c[1] ) )
    return esperance(Y) - esperance(X)**2
