mapletimes

5 Reputation

One Badge

11 years, 359 days

MaplePrimes Activity


These are questions asked by mapletimes

Hi

I want to simulate taking a card from to decks at the same time, and by doing it sufficiently many times, show that the probability is 1-(1/e).

I've implemented this in Python, but i'm new to maple. Here is what I've done so far.

 

randomDeck:=proc(n::integer)

  local deck:= [seq(1..52)];
local randomDeck:=[];

Page 1 of 1