Hyperbolic tangent#

block

Block appearance in REPEAT VISION#

 The Hyperbolic tangent block calculates the hyperbolic tangent of the input angle specified by the user, in radians. The formula for calculating the hyperbolic tangent (1):

(1)#\[ ch\ x\ =\frac{sh\ x}{ch\ x}=\ \frac{e^x+e^{-x}}{e^x+e^{-x}} \]

where:

 \(x\) is the angle, radians.

 sh \(x\) – hyperbolic sine;

 ch \(x\) - hyperbolic cosine.

1.  Properties#

No

2.  Inputs and outputs#

Parameters

Input/Output

Description

Units of measurement

Port type

Angle size

Input

-

-

Automation

Function value

Output

-

-

Automation

In order to see the connection capabilities of the block, you need to go to page Description of block ports

3.  Code generation#

Important

Block supports C source code generation