I think to show the effect of variance we need to repeat the tasks with the same nCononuts for multiple times.

msfernan

Yes I agree, I believe need to repeat he task with the same nCoconuts a certain K number of time calculate the variance of the estimate with the true value of pi. i.e. total sum of (estimated val - pi)^2 for K trials divided by K. Someone correct me if my variance math is wrong!

I think to show the effect of variance we need to repeat the tasks with the same nCononuts for multiple times.

Yes I agree, I believe need to repeat he task with the same nCoconuts a certain K number of time calculate the variance of the estimate with the true value of pi. i.e. total sum of (estimated val - pi)^2 for K trials divided by K. Someone correct me if my variance math is wrong!