cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Binomial coefficients with Mathcad 8.0?

gatlas
9-Granite

Binomial coefficients with Mathcad 8.0?

Is there any quick and easy way to generate Binomial coefficients with Mathcad 8.0? 

 

Or do I just use the definition?

1 ACCEPTED SOLUTION

Accepted Solutions
Werner_E
24-Ruby V
(To:gatlas)

The function you are looking for is combin(n,k) for "n over k"

https://support.ptc.com/help/mathcad/r8.0/en/index.html#page/PTC_Mathcad_Help/combinations_and_permutations.html#

 

Example:

Werner_E_0-1658105178718.png

 

If you want to create your own  function, you must take care which definition to use, because factorials and Gamma function may easily exceed the limit of 10^307 and throw an error.

Werner_E_1-1658105857130.png

 

 

 

View solution in original post

1 REPLY 1
Werner_E
24-Ruby V
(To:gatlas)

The function you are looking for is combin(n,k) for "n over k"

https://support.ptc.com/help/mathcad/r8.0/en/index.html#page/PTC_Mathcad_Help/combinations_and_permutations.html#

 

Example:

Werner_E_0-1658105178718.png

 

If you want to create your own  function, you must take care which definition to use, because factorials and Gamma function may easily exceed the limit of 10^307 and throw an error.

Werner_E_1-1658105857130.png

 

 

 

Top Tags