Evaluate
Rank the operations. Factorial binds tightest — it is a unary operator attached to the — then multiplication and division, then addition and subtraction left to right. So and both resolve before anything is added or subtracted.
Compute the factorial.
This single term dominates the expression and is what makes the final answer negative.
Compute the division.
Note the division applies only to the second ; reading the expression as would give instead and change the answer to .
Substitute and work left to right.
Sanity-check the sign. The positive contributions total while the factorial removes , so the result must be negative and of magnitude — consistent with .
Need to solve a different problem like this? Open the solver →