how to find the sum terms in of binomial expansion
Afficher commentaires plus anciens
I need to find the sum of few terms in binomial expansion...more precisely i need to find the sum of this expression:
∑ (nCr) * p^r * q^(n - r)
and limits for summation are from r = 2 to 15. and n=15
any help would be most welcome.
Réponse acceptée
Plus de réponses (1)
Roger Stafford
le 11 Avr 2013
With that range of r I would think it would be more efficient to compute
(q+p)^n-q^n-n*q^(n-1)*p
Catégories
En savoir plus sur Univariate Discrete Distributions dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!