View Single Post
  #1 (permalink)  
Old August 24th, 2004, 10:17 AM
ajm235 ajm235 is offline
Registered User
 
Join Date: Aug 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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


Reply With Quote