The QBasic Forum      Other Subforums, Links and Downloads
 Return to Index  

Markov Chain of 2, with high probability

April 8 2009 at 8:10 AM
  (Login T3sl4)
R


Response to Make a program using markov's chains

x = 0
WHILE -1
x = NOT x 'probability of changing to this state = 1
IF x THEN PRINT "Now in state 1" ELSE PRINT "Now in state 0"
WEND

 
 Respond to this message