Perform complex calculations including trigonometry, logarithms, exponential functions, and factorial operations.