
function X = exponential_RV(U)

X = -log(U);

%inverse of an exponential