Mathematical Functions
- Many pre-defined functions are easy to invoke (the # sign makes a comment)
- exp(1.2); #exponential
- ln(123.4); #natural log
- log[b](x) is the base-b log
- trig functions take arguments in radians
- no problem with complex numbers
- sqrt(2.);
- sqrt(-2.);
- abs(-7.1); #absolute value
- 5! #factorial