how to find the sum terms in of binomial expansion
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (1)
Roger Stafford
el 11 de Abr. de 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
Categorías
Más información sobre Creating and Concatenating Matrices 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!