Right. Each is about 333. *-- Russ Abbott* *_____________________________________________* *** Professor, Computer Science* * California State University, Los Angeles*
* Google voice: 747-*999-5105 * blog: *http://russabbott.blogspot.com/ vita: http://sites.google.com/site/russabbott/ *_____________________________________________* On Fri, Jun 10, 2011 at 8:03 PM, joseph spinden <[email protected]> wrote: > x <- runif(1000) # generate 1000 random numbers from a uniform distribution > y <- runif(1000) # generate 1000 random numbers from a uniform distribution > z <- runif(1000) # generate 1000 random numbers from a uniform distribution > > A <- y < pmin(x, z) > B <- y > pmax(x, z) > > print(sum(A)) > > print(sum(B)) > >
============================================================ FRIAM Applied Complexity Group listserv Meets Fridays 9a-11:30 at cafe at St. John's College lectures, archives, unsubscribe, maps at http://www.friam.org
