Simple R code to Estimate PI number using Monte Carlo method!
this code is simply takes sample from two dimentional uniform distribution! As this repeats, ratio of number of (samples which are in the inner circle / total number of samples) approaches to PI number!