randomwalk
随机漫步任务Usingthecomputerlanguageofyourchoice,writeasimulationofrandomwalksinonedimension,onalatticeofspacingdeltax=1andwithdiscretetimesteps,deltat=1.Eachwalkerbeginsattheoriginandateachtimestepittakesasteptotherightorleftwithequalprobability,sothatp_right=0.5,p_left=0.5.Number
下载地址
用户评论