View Single Post
  #3 (permalink)  
Old August 24th, 2004, 12:22 PM
mehdi62b mehdi62b is offline
Friend of Wrox
 
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

I have some problem with your question,
its better you give the numbers assure you to get correct result.
for example its better you give the p(head)=x/n x=0..n then you can design better algorithms for getting exact results
I think the method Dave mentioned is very excellent but be careful maybe all
the results turn out only 'H' or 'T'.

--------------------------------------------
Mehdi.:)
Reply With Quote