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 Comment

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

Sign in to comment.

 Accepted Answer

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 Comments

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???

Sign in to comment.

More Answers (0)

Products

Release

R2021a

Community Treasure Hunt

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

Start Hunting!