Chapter 12

Trigonometric Functions

Introduction

Three Basic Trigonometric Functions

COS

SIN

TAN

Three Inverse Trigonometric Functions

ARCOS

ARSIN

ATAN

Introduction

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.

Three Basic Trigonometric Functions

All three functions are demonstrated in the single program that follows the syntax and examples.

## Function:    COS

Purpose:    To compute the cosine of an angle (expressed ...

Get SAS Functions by Example, Second Edition, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.