Help with problem of Qualifiers north america please :'(

Revision en3, by LaFuckinGioconda, 2015-11-29 20:58:07

Hello, yesterday i tried this problem,without success: Bobbys Bet

To find the expected value i arrived with that formula:

where :

S = number of sides of the dice.

R = min number that we can take.

X = times we need take at least number R.

Y = times we can roll the dice.

W = Bet Payment.

(All are input variables)

this is my code that gives WA:

Code

I really appreciate your help.

Tags probability, expected value, north america

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English LaFuckinGioconda 2015-11-29 20:58:07 440 (published)
en2 English LaFuckinGioconda 2015-11-29 20:44:41 8 Tiny change: 'mula:\n\n\sum_{i=' -> 'mula:\n\n\LaTeX\n\sum_{i='
en1 English LaFuckinGioconda 2015-11-29 20:43:45 205 Initial revision (saved to drafts)