■ The arguments of all Wolfram Language functions are enclosed in square brackets.
■ The names of built‐in Wolfram Language functions begin with capital letters.
Two important points about functions in the Wolfram Language.
It is important to remember that all function arguments in the Wolfram Language are enclosed in square brackets, not parentheses. Parentheses in the Wolfram Language are used only to indicate the grouping of terms, and never to give function arguments.
This gives . Notice the capital letter for Log, and the square brackets for the argument:
Just as with arithmetic operations, the Wolfram Language tries to give exact values for mathematical functions when you give it exact input.
This gives as an exact integer:
This gives an approximate numerical result for :
The presence of an explicit decimal point tells the Wolfram Language to give an approximate numerical result:
Since you are not asking for an approximate numerical result, the Wolfram Language leaves the number here in an exact symbolic form:
Here is the exact integer result for . Computing factorials like this can give you very large numbers. You should be able to calculate up to at least 2000! in a short time:
This gives the approximate numerical value of the factorial: