A new computer virus attacks a folder consisting of 200 files

TomJerry
Messages
49
Reaction score
0
Question:
A new computer virus attacks a folder consisting of 200 files. Each file gets damaged with probability 0.2 independently of other files. Using Normal approximation of binomial distribution, find the probability that fewer than 50 files get damaged.


Solution:

Here n=200, p =0.2, q=0.8.

Formulae for normal approx is Z = X - \mu/\sigma

For binomial distribution \mu = np and \sigma2 = npq

Therefore
\mu = 40

\sigma = 5.7

when X=50

Z = 50 - 40 / 5.7 = 1.8

P(X<50) = P(Z<1.8) = 0.5 - P(0<Z<1.8) = 0.5 - 0.4641 = 0.0359

Is this correct ?
 
Physics news on Phys.org
I think that you have made some minor mistakes.
First of all, npq is not the standard deviation, it is the variance (which is related to the st.dev. how?)

Moreover, this distribution is actually discrete and you are only using the normal distribution as an approximation. This means that you should probably apply the so-called continuity correction, by changing your upper bound a bit (it should not be 50 but ...?)
 
CompuChip said:
I think that you have made some minor mistakes.
First of all, npq is not the standard deviation, it is the variance (which is related to the st.dev. how?)

Moreover, this distribution is actually discrete and you are only using the normal distribution as an approximation. This means that you should probably apply the so-called continuity correction, by changing your upper bound a bit (it should not be 50 but ...?)
Thanks X should be 49 and not 50 ...Isnt that correct
 
How about 49.5?
 
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Back
Top