Description Usage Details Value References Examples
in this game first a number is drawn from a set 1-20, let x be the number drawn. Next another number is drawn from a set x-25 if the second number is greater than 21 then its a win.
1 | ex1427()
|
game simulation for Exercise 1.4.27 on page 36
returns 1 if the player wins; else returns 0
Hogg, R. McKean, J. Craig, A. (2018) Introduction to Mathematical Statistics, 8th Ed. Boston: Pearson.
1 | result <- ex1427()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.