DIAdem API Reference

Function: SinH

  • 已更新2023-02-21
  • 閱讀時間為 2 分鐘

Calculates the hyperbolic sine of a number.

ReturnValue = SinH(Value)

Input Parameters

Value Specifies a numeric value, a variable, or a data channel that contains the angles in radians.

Output Parameters

ReturnValueReturns numeric values.

Examples

The following example calculates the hyperbolic sine of a number.

VBScriptPython

 

Dim dblMyResult
dblMyResult = SinH(1.9143)    'dblMyResult = 3.31737229713868  

The following example calculates the hyperbolic sine of the values in the Group1/Input data channel and saves the result in the Group2/Result data channel.

VBScriptPython

 

Call Calculate ("Ch(""Group2/Result"")= SinH(Ch(""Group1/Input""))")
Note  You must use the Calculate command in scripts to calculate data channels with formulas. Compute the data channels according to the syntax in the Calculator. Refer to the procedures Executing Channel Calculations in the Calculator and Assigning a Value to a Variable in the Calculator for more information about the Calculator.
The input quantity must have the physical quantity Plane angle. The physical result quantity is dimensionless.
The Input and Result Quantities for Quantity-Based Calculations page contains an overview of the input quantities and result quantities of all functions. Refer to the Help page Calculating Quantity-Based and Non-Quantity-Based in DIAdem for the conditions and rules for quantity-based calculations.

Related Functions

Function: ArcCos | Function: ArcCot | Function: ArcSin | Function: ArcTan | Function: ArcTanH | Function: ATan2 | Function: ATanK | Function: Cos | Function: CosH | Function: Cot | Function: Sin | Function: Tan | Function: TanH