Rather than cover all the trigonometric functions, I've decided to demonstrate just the three basic ones and their inverses. The remaining trigonometric functions work essentially the same way and their use is left as an "exercise for the reader." The salient point to remember when dealing with the trigonometric functions is that the angles are always expressed in radians.
All three functions are demonstrated in the single program that follows the syntax and examples.
Purpose: To compute the cosine of an angle (expressed ...