1 A card is drawn at random from a deck consisting of cards numbered 2 through 10. A player wins 1 dollar if the number on the card is odd and loses 1 dollar if the number if even. What is the expected value of his win- nings?
total_cards <- 36
number_odds <- 18
number_even <- 18
expected_value <- number_odds*1+ number_even *( -1)
expected_value
## [1] 0
The expected value of winning is 0.