#Probability
55 messages · Page 1 of 1 (latest)
- Ask your question and show the work you've done so far. If you've posted a screenshot of a question, specify which part you need help with.
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with:
+close - Feel free to nominate the person for helper of the week in #helper-nominations
- Do not ping the mods, unless someone is breaking the rules.
- If you're happy with the help you got here, and the server overall, you can contribute financially as well:
@worthy ingot This a programing question I am assuming?
Of course it would
which programming language do you use?
For which class is this?
this is a programming question, the numerical answer is really complicated and I am not sure how long it will take to solve it numericly
let me run some python code rly quick
can you reroll the same dice twice?
@worthy ingot
?
ok but it will make the code more complicted
Trying to program something
didnt work with python in the last 3-4 months
Ok I think I did it
What do you want your sample size to be?
it seems to be around 1.5% of the time
when you win the game
@worthy ingot
I ran 10 million games and these are the results: 152,491/10,000,000
@fiery yoke has given 1 rep to @wide gate
Ye but it is a horrible code
you set the k to be the sample size
Where did you get that question btw? and why are you so intrested in such a random problem?
?
ok and?
that doesn't seem correct as well
I found an improvement with he decision making and now I go it up to 1.9%
@worthy ingot
.
did you find your mistake?
And what is your precentge?
No
I am not making an interface
wait
look on the 2nd roll
like on the 2nd euro reroll#1
you rolled there more then one 3
and in the next row 2 of the turned to one
@worthy ingot
send me one when it succeeds
like a few of them if you can
OH
I misread the question
I thought you get to reroll 3 of the 10
not all of them
Ye so your thing works probably
According to the question you reroll all the dice that don't show that number
or the W
and you get 3 of these rerols
ye ye I got the question wrong
Should have read more carefully, it would have been like 5 minuets of coding lol
I want to say my pleasure
But at the same time I am a bit annoyed that I read the question wrong
@worthy ingot Just write +close to close this post, have a good programing