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 个评论

Is there anyone to help me please, how i can i solve this in Matlab...
Please...

请先登录,再进行评论。

 采纳的回答

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 个评论

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

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Monte-Carlo 的更多信息

产品

版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by