A computer can generate random numbers which are either 0 or 2. On a particular occasion, it(adsbygoogle = window.adsbygoogle || []).push({});

generates a set of numbers which consists of 23 zeros and 17 twos. Find the mean and variance of this set of 40 numbers.

Please help i just don't know where to start. In fact i am thinking of using the formula mean = np but i cannot relate it to the question.

According to the booklet the answer for the mean is 0.850 and variance = 0.978

PLEASE HELP I AM STUCK

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Find the mean and variance of this set of 40 numbers

**Physics Forums | Science Articles, Homework Help, Discussion**