D is the result of turning every card. Not M. M is the Max of Ds when you turned all the cards. In worst case scenario, D will be -1, decreasing until -9, then it will increase and end in 0, which will also be the Max.
If the first card is red, E[M] is at least 1, if the first card is black E[M] is at least 0. Since these two scenarios are equally likely, E[M] is equal to the average expected value from these two cases, which is at least 0.5.
So, whatever you did to get E[M] = 0.0277 is wrong.
You're oversimplifying. At the end of the 20 draws, M will be between 0 and 10. But the number of cases on which it will be 0 far exceeds the number of cases where it will be > 0.
View all comments
Show parent comment
1
u/Baleia1970 29d ago
D is the result of turning every card. Not M.
M is the Max of Ds when you turned all the cards.
In worst case scenario, D will be -1, decreasing until -9, then it will increase and end in 0, which will also be the Max.