The textbook example of Monte-Carlo method is deriving PI by plotting random points in a square with enscribed circle.