Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
Function: binomial (<x>, <y>) The binomial coefficient <x>!/(<y>! (<x> - <y>)!). If <x> and <y> are integers, then the numerical value of the binomial coefficient is computed. If <y>, or <x - y>, is an integer, the binomial coefficient is expressed as a polynomial.
![Binomial Example load (distrib);
p: 1/10;
n: 40;
float(1-cdf_binomial(9,n,p));
oa: 1-lsum(pdf_binomial(k,n,p), k, [0,1,2,3,4,5,6,7,8,9]);
float(oa);
ob: 1-lsum( binomial(n,k) * p^k * (1-p)^(n-k) , k, [0,1,2,3,4,5,6,7,8,9]);
float(ob);](http://maxima-online.org//plot.html?g=i-1823560903.png&t=img&db=r-1105702587)
Examples:
(%i1) binomial (11, 7);
(%o1) 330
(%i2) 11! / 7! / (11 - 7)!;
(%o2) 330
(%i3) binomial (x, 7);
(x - 6) (x - 5) (x - 4) (x - 3) (x - 2) (x - 1) x
(%o3) -------------------------------------------------
5040
(%i4) binomial (x + 7, x);
(x + 1) (x + 2) (x + 3) (x + 4) (x + 5) (x + 6) (x + 7)
(%o4) -------------------------------------------------------
5040
(%i5) binomial (11, y);
(%o5) binomial(11, y) There are also some inexact matches for binomial. Try ?? binomial to see them.
(%o1) true (%i2)