LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents

sin

sin

double sin (double inputValue);

Purpose

Computes the sine of the specified argument. The argument must be measured in radians.

Parameters

Input
Name Type Description
inputValue double Contains the argument to the function. This value must be measured in radians.

Return Value

Name Type Description
result double Contains the resulting sine value. This value is valid only if inputValue is measured in radians. The function returns NaN when infinity or an unrepresentable number is used as the argument to the function.

Additional Information

Library: ANSI C Library

Include file: ansi_c.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

Examples

Refer to the following examples that use the sin function:

  • userint\GraphAnnotations.cws

    Open example
  • userint\GraphZooming.cws

    Open example
  • userint\gridview.cws

    Open example
  • utility\threading\ThreadSafeQueue\BuffNoDataLoss\BuffNoDataLoss.cws

    Open example
Was this information helpful?

Previous

signal

Next

sinh

Previous

signal

Next

sinh