acos

Block Category: Transcendental

Inputs: Scalars

Description: The acos block produces the inverse cosine of the input signal. The output is an angle in radians.

Label: Indicates a user-defined block label that appears when View > Block Labels is activated.

 

Example

1. Computation of cos-1(1) = 0; cos-1(0) = π/2

This equation is realized as:

Two acos blocks are used to compute the inverse cosines. For comparison, the constant value of π/2 is generated by connecting two const blocks, set to 22 and 14, to the “l” and “r” inputs of a / block. From the results obtained, the acos blocks yield correct values for the angles.