creating finate sequences
hi,
can someone please tell me how i can get my computer to create a finate sequence of coin tosses.
i want to tell it p(heads)=1/3
p(tails)=2/3
n=10
and it to give me a sequence eg
H, T, T, H,H,T,H,T,T,T.
How do i do this?
cheers
|