Binomal theorem
This m-file gives the expansion of powers of sums of any real or complex numbers x and y, and any nonnegative integer n. It is also known as the Newton's binomial. From it emerges the discrete binomial (positive) distribution.
Syntax: function bintheor(x,y,n) 
      
Input:
x,y - pair of interested terms to expand
n - coefficient/power to increase the binomial theorem
Output:
 - result of the Binomial theorem sum (default)
 - vector of the binomial theorem values (optional)
Cita come
Antonio Trujillo-Ortiz (2025). Binomal theorem (https://it.mathworks.com/matlabcentral/fileexchange/22085-binomal-theorem), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
