Returns the product of a sequence.

// Returns 120
const mul = Chalkboard.numb.mul("n + 1", 0, 5);
  • Parameters

    • formula: string

      Sequence written in product notation with the variable "n"

    • inf: number

      Lower bound

    • sup: number

      Upper bound

    Returns number