Given the pdf of a Bernoulli distribution, and the value of x ranging from  zero to n,determine it's mgf,mean and variance?

Given the pdf of a Bernoulli distribution, and the value of x ranging from zero to n,determine it's mgf,mean and variance?

quanswer.com