Finding Probability by using loop
显示 更早的评论
I want to find the probability using the following equation:

where n=48, k=7, α=0.995
6 个评论
the cyclist
2023-6-1
Dyuman Joshi
2023-6-1
The question looks simple, what have you attempted yet?
Yaseen
2023-6-2
Yaseen
2023-6-2
回答(1 个)
Febo Cincotti
2023-6-1
1 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 Binomial Distribution 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!