beautypg.com

Cos (cosine), Cosh (hyperbolic cosine), E (natural logarithmic base, e) – MTS Multipurpose Elite User Manual

Page 249: Curvearea

background image

Example

ChannelValue(Extension, Load, PeakLoad)

This example returns the Extension value associated with the PeakLoad value located in the Load array.

cos (Cosine)

Syntax

cos(number)

This function is used to calculate the cosine of the number specified.

Cosine of the specified angle

cosh (Hyperbolic cosine)

Syntax

cosh(number)

Hyperbolic cosine of the specified angle.

e (Natural logarithmic base, e)

Syntax

e()

CurveArea

The CurveArea function calculates the area under the curve defined by the Y and X axis data.

Syntax

CurveArea(xArray, yArray, startIndex, endIndex)

Returns

The area under the curve.

Parameters

y-axis – The array holding the Y-Axis data.

x-axis – The array holding the X-Axis data.

StartIndex - The start index of the region to analyze.

EndIndex - The end index of the region to analyze.

Unit Class

X-Axis unit / Y-Axis unit

MTS TestSuite | 249

Working with Variables