Can I perform trig functions (like sin, cos, tan)?

There are currently no libraries to accomplish this in the C18 compiler. There are some Assembly libraries around, or you could create your own routines using various methods.