Finding Probability by using loop
Mostrar comentarios más antiguos
I want to find the probability using the following equation:

where n=48, k=7, α=0.995
6 comentarios
the cyclist
el 1 de Jun. de 2023
Torsten
el 1 de Jun. de 2023
Dyuman Joshi
el 1 de Jun. de 2023
The question looks simple, what have you attempted yet?
Yaseen
el 2 de Jun. de 2023
Yaseen
el 2 de Jun. de 2023
Respuestas (1)
Febo Cincotti
el 1 de Jun. de 2023
1 voto
I would proceed to implement the formula step by step.
First, compute the addends of the sum.
Hint: nchoosek(n,m) returns
, (1-alpha)^m returns
and alpha^(n-m) returns 
Then you only need to compute Pr = 1 - sum(addends)
Hope this helped with your homework
Categorías
Más información sobre Binomial Distribution en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!