law of the unconscious statistician
The formula for the expected value of a function of a random variable, computed directly from that variable's own pmf with no new distribution needed.
E[g(X)] = \sum_x g(x)\,p(x).
See also
Point table
Graph settings
Calculator