O'Reilly logo

SAS Functions by Example, Second Edition, 2nd Edition by Ron Cody

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required