Compute E(X) = Σ x·P(x) from a probability distribution — plus the variance and standard deviation — with a table and step-by-step working.
Enter the outcomes and their probabilities (comma-separated, same count). Fractions like 1/6 are allowed; probabilities should sum to 1.