I am having trouble finding the Variance for this question.
The proportion of salt X left in the salt shakers at the end of the day at a crowded restaurant has a probability density function given by
f(x) { 2x for 0 < x < 1
0 other wise
There are 80 salt shakers in the restaurant with each one having a capacity of 3 ounces of salt and they are all filled and used independently of each other. Find the expectation and standard deviation of T = the total amount of salt needed to fill the 80 salt shakers at the end of the day?
Here is what I am getting -
E(X) = an integral 0 to 1 (2x^2) , which then equals 2/3.
I then take the opposite of the 2/3 being that is how much left in the salt shaker and get 1/3 which is how much is gone. I then multiply 1/3(3) and see that one ounce needs to be refilled in each salt shaker. Then I multiply 1(80) to account for the 80 salt shakers. So my E(T) = 80
Now to find the Variance wouldn't I just find the integral from 0 to 1 of f(x)(x^2)? and then subtract E(t)^2 from that to fond the Variance? When I do that I am getting a negative number and I know that it isn't right. Any help?