Rejection Sampling, Monte Carlo, Sampling Methods, Probability Distributions, Statistics.
random numbers from uniform distribution are equally likely we can see that there will be more numbers falling on the right side of our evaluation line as it is bigger in size. This usage of randomness is what gets this algorithm classified as a Monte Carlo algorithm. Here are two plots that show