Skip to main content
11-Garnet
July 17, 2022
Solved

Binomial coefficients with Mathcad 8.0?

  • July 17, 2022
  • 1 reply
  • 1808 views

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

 

Or do I just use the definition?

Best answer by Werner_E

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

 

 

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
July 18, 2022

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