Compute Area Under the Curve (AUC) using the trapezoidal rule
x : array, shape = [n]
x coordinates
y : array, shape = [n]
y coordinates
auc : float