beautypg.com

Sinh function, Sqrt function, Tan function – Delta RMC151 User Manual

Page 381: Sqrt( a ), Tan( a ), Sinh( a )

background image

5 Programming

SIN(45 * M_PI / 180) returns 0.70710677

5.14.2.41. SINH Function

SINH(a)
Returns the hyperbolic sine of a.

Parameters

a (REAL)
The input value.

Return Value

Returns a REAL.

5.14.2.42. SQRT Function

SQRT(a)
Returns the square root of a.

Parameters

a (REAL)
The input value.

Return Value

Returns a REAL.

Remarks

If a is negative, the task will fault. An error will be logged in the Event Log and the user

program running on the task will stop.

Examples

SQRT(100.0) returns 10.0.
SQRT(2.0) returns 1.4142135.

5.14.2.43. TAN Function

TAN(a)
Returns the tangent of a.

Parameters

a (REAL)
The input value in radians.

Return Value

Returns a REAL.

deltamotion.com

361

This manual is related to the following products: