The game dien is played in the following way:
you will be given a die with n sides. you will...
![subject](/tpl/images/cats/mat.png)
Mathematics, 28.01.2020 21:41 randlemccray1907
The game dien is played in the following way:
you will be given a die with n sides. you will know the size of n, and can assume that n is a value greater than 1 and less than or equal to 30. you will be given a bit mask vector isbadsiderepresenting the sides of a die that will make you lose. the vector will be of size n, and 1 indexed. (there is no 0 side) you start with 0 dollars. at any time you have the option to roll the die or to quit the game if you decide to roll: and you roll a number not in isbadside, you receive that many dollars. (eg. if you roll the number 2 and 2 is not active -- meaning the second element of the vector is 0 -- in isbadside, then you receive 2 dollars) repeat step 4. and you roll a number in isbadside, then you lose all money obtained in previous rolls and the game ends. if you decide to quit: i. you keep all money gained from previous rolls and the game ends.
for this problem, determine an optimal policy for playing the game dien for n sides. you will be givenn and the array isbadside which indicates which sides are bad. as you will see, the optimal policy for this game will depend onyour current bankroll.
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Mathematics
![question](/tpl/images/cats/mat.png)
Mathematics, 21.06.2019 16:30
Yoku is putting on sunscreen. he uses 2\text{ ml}2 ml to cover 50\text{ cm}^250 cm 2 of his skin. he wants to know how many milliliters of sunscreen (c)(c) he needs to cover 325\text{ cm}^2325 cm 2 of his skin. how many milliliters of sunscreen does yoku need to cover 325 \text{ cm}^2325 cm 2 of his skin?
Answers: 3
![question](/tpl/images/cats/mat.png)
Mathematics, 22.06.2019 00:30
Pls as soon as ! will award brainliest and 20 ! also the answer is not 22.5 degrees! find the value of x in each case:
Answers: 3
![question](/tpl/images/cats/mat.png)
Mathematics, 22.06.2019 01:00
Use mathematical induction to prove the statement is true for all positive integers n, or show why it is false. 1^2 + 4^2 + 7^2 + + (3n - 2)^2 = [n(6n^2-3n-1)/2]
Answers: 1
![question](/tpl/images/cats/mat.png)
Mathematics, 22.06.2019 01:30
Write 37/22 as a decimal rounded to the nearest hundredth.
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/himiya.png)
Chemistry, 02.12.2019 08:31
![question](/tpl/images/cats/biologiya.png)
Biology, 02.12.2019 08:31
![question](/tpl/images/cats/biologiya.png)
Biology, 02.12.2019 08:31
![question](/tpl/images/cats/mat.png)
Mathematics, 02.12.2019 08:31
![question](/tpl/images/cats/himiya.png)
Chemistry, 02.12.2019 08:31
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/geografiya.png)
Geography, 02.12.2019 08:31
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/istoriya.png)
History, 02.12.2019 08:31
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 02.12.2019 08:31
![question](/tpl/images/cats/geografiya.png)
Geography, 02.12.2019 08:31
![question](/tpl/images/cats/mkx.png)
Arts, 02.12.2019 08:31
![question](/tpl/images/cats/mat.png)
Mathematics, 02.12.2019 08:31
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
English, 02.12.2019 08:31
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 02.12.2019 08:31