...Command Line Calculator supports most common mathematical expressions such as sin, cos, tan, log, exp, random number generation, etc.
This contains a list of all functions available (too many): https://www.autoitscript.com/autoit3/docs/functions.htm
This contains a list of just the math functions, but the links don't work. Use it to see a smaller list of just math functions and then find the function in the link above: https://www.autoitscript.com/autoit3/docs/functions/Math%20Management.htm