A random variable x has the following probability distribution:

x f(x)
0 0.08
1 0.17
2 0.45
3 0.25
4 0.05