Find the expected value of a random variable $x$ having the following probability distribution.Enter
\(E(x) = x_1P(x_1) + x_2P(x_2) + \cdots + x_nP(x_n)\)
Step 1 :\(E(x) = \sum xP(x)\)
Step 2 :\(E(x) = x_1P(x_1) + x_2P(x_2) + \cdots + x_nP(x_n)\)