Seen part of this posted in another thread but mine had it a bit more in depth:
1) What would you pay to play a game where you receive what ever number is on a rolled die in dollars (so if you roll a 6, you receive $6)?
2) What if you can re-roll it if you don't like the number? If you can re-roll twice?
3) Write a program that calculates the expected value of this game with n re-rolls and s sides to the die.
4) Can you make the space with respect to n sub-linear?
I'm a bit curious if there is a closed expression for EV(n,s)... couldn't seem to figure it out on the spot.
1) What would you pay to play a game where you receive what ever number is on a rolled die in dollars (so if you roll a 6, you receive $6)?
2) What if you can re-roll it if you don't like the number? If you can re-roll twice?
3) Write a program that calculates the expected value of this game with n re-rolls and s sides to the die.
4) Can you make the space with respect to n sub-linear?
I'm a bit curious if there is a closed expression for EV(n,s)... couldn't seem to figure it out on the spot.