Returns the binomial coefficient for a polynomial.

// Returns 35
const coeff = Chalkboard.numb.binomial(7, 3);
  • Parameters

    • n: number

      The degree of the polynomial

    • k: number

      The term of the polynomial

    Returns number