How can i solve this probability problem

White blood cells are classified into 5 categories, one of which is neutrophil cells. Typically, there are 100 cells that fall into these categories. For a healthy adult the probability of finding neutrophils is 0.6. Determine the probability that a healthy adult will find between 50 and 75 (inclusive) cells.

1 commentaire

Sirbu Robert
Sirbu Robert le 11 Jan 2022
Modifié(e) : Sirbu Robert le 11 Jan 2022
Is there anyone to help me please, how i can i solve this in Matlab...
Please...

Connectez-vous pour commenter.

 Réponse acceptée

Did you want to do it via a Monte Carlo simulation, or via built-in functions? If you want a Monte Carlo simulation, here is a start.
numTrials = 500000;
numCells = 100;
for k = 1 : numTrials
r = rand(numCells, 1) < 0.6;
numCellsThisTrial(k) = sum(r);
end
histogram(numCellsThisTrial)
grid on;
ylabel('Number of images');
xlabel('Count per image')
Hopefully you can take it from there.

2 commentaires

Sirbu Robert
Sirbu Robert le 11 Jan 2022
Via Monte Carlo, and why did you put numTrials=50000?
Sirbu Robert
Sirbu Robert le 11 Jan 2022
And what is the probability that a healthy adult has beetwen 50-75 neutrophil cells, numeric value???

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Produits

Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by