I need to estimate $e$ with a monte carlo method. We only learned the crude monte carlo integration, so I can't use any robust monte carlo simulations.
I know that $\displaystyle \int\limits_1^x \frac{1}{s}ds=\ln(x),$ so I just need to play around with the limit using randomly generated numbers.