The p.m.f. of a random variable \[\mathrm{X}\] is \[\mathrm{P}(x)=\left\{\begin{array}{cl}\frac{2 x}{\mathrm{n}(\mathrm{n}+1)}, & x=1,2,3, \ldots \mathrm{n} \\ 0, & \text { otherwise }\end{array}\right.\], then \[\mathrm{E}(\mathrm{X})\] is
| \(X=x\) | \(1\) | \(2\) | \(3\) |
| \(P(X=x)\) | \(\frac{1}{5}\) | \(\frac{2}{5}\) | \(\frac{2}{5}\) |
| \(X=x\) | \(0\) | \(1\) | \(2\) | \(3\) | \(4\) |
| \(P(X=x)\) | \(k\) | \(2k\) | \(4k\) | \(2k\) | \(k\) |
