The same birthday by pooq

a=1;for(i in 1:99)write(sprintf("n=%d, p=%.8f",i+1,1-(a=a-a*i/365)),T)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page