Given:
Given that in a game a player draws and replaces a card from a deck 2 times.
The possible outcomes and payouts are given.
We need to determine the expected value for someone playing the game.
Expected value:
The expected value for someone playing the game can be determined by
![EV=((26)/(52))(\$ 20)+((52)/(52))(\$4)+((52)/(52))(\$ 0)+((26)/(52))(-\$12)](https://img.qammunity.org/2021/formulas/mathematics/high-school/v5dwprw9bw8ajzu6ggu1fqfmytqi2suyw9.png)
Simplifying the values, we have;
![EV=((1)/(2))(\$ 20)+(1)(\$4)+(1)(\$ 0)+((1)/(2))(-\$12)](https://img.qammunity.org/2021/formulas/mathematics/high-school/t6yg73suxca4gwepp6n86y246xse4gj4nq.png)
Dividing the terms, we get;
![EV=\$ 10+\$4+\$ 0+-\$6](https://img.qammunity.org/2021/formulas/mathematics/high-school/n47hfiqf00kn084trmbxujjak3q2p05nfg.png)
Adding, we have;
![EV=\$ 8](https://img.qammunity.org/2021/formulas/mathematics/high-school/8thq8coor7cfuxl3p5oms1m5lhmn36tf2e.png)
Thus, the expected value for someone playing the game is $8