How to Find a Factorial of Any Integer Number in Sage X3?

By | February 10, 2016

We may come across a situation, where we need to calculate a factorial of any integer. Sage X3 provides built-in function ‘fac’ to calculate the same.

Fac: It calculates a factorial of any integer value.

Syntax:

fac(integer)

To better understand this, refer the below snippet of code:

fac(integer) code snippet in Sage X3

Output:

factorial in Sage X3