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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Binomial coefficients with Mathcad 8.0?

gatlas
10-Marble

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?

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(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
25-Diamond I
(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

 

 

 

Announcements

Top Tags