Jump to content

Evaluate binomial coefficients: Difference between revisions

+Stata
m (→‎{{header|Lua}}: not save some out of normal(?) inputs bound case)
(+Stata)
Line 2,056:
Alternatively, by using the ''Number.nok()'' method:
<lang ruby>say 400.nok(200)</lang>
 
=={{header|Stata}}==
Use the [http://www.stata.com/help.cgi?comb comb] function. Notice the result is a missing value if k>n or k<0.
 
<lang stata>. display comb(5,3)
10</lang>
 
=={{header|Tcl}}==
1,336

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.