# StrictMath

The `StrictMath`Class is a subset of the Math Class that focuses on providing highly precise mathematical functions. It includes methods for calculating trigonometric functions like sine, cosine, and tangent, as well as their inverse functions like arcsine and arccosine. StrictMath is ideal for situations where accuracy is of utmost importance, ensuring reliable and consistent mathematical calculations.

### Methods

**`StrictMath.sin(a: Double): Double`**-Calculates the sine of the argument `a`.

```typescript
var angleInRadians = 1.0; // Angle in radians
var sineValue = StrictMath.sin(angleInRadians);
// sineValue is now approximately 0.8414709848078965
```

**`StrictMath.cos(a: Double): Double`**- Calculates the cosine of the argument `a`.

```typescript
var angleInRadians = 1.0; // Angle in radians
var cosineValue = StrictMath.cos(angleInRadians);
// cosineValue is now approximately 0.5403023058681398
```

**`StrictMath.tan(a: Double): Double`**-Calculates the tangent of the argument `a`.

```typescript
var angleInRadians = 1.0; // Angle in radians
var tangentValue = StrictMath.tan(angleInRadians);
// tangentValue is now approximately 1.5574077246549023
```

**`StrictMath.asin(a: Double): Double`**-Calculates the arcsine of the argument `a`.

```typescript
var sineValue = 0.8414709848078965; // Sine value 
var arcsineValue = StrictMath.asin(sineValue);
// arcsineValue is now approximately 1.0 (in radians)
```

**`StrictMath.acos(a: Double): Double`**-Calculates the arccosine of the argument `a`.

```typescript
var cosineValue = 0.5403023058681398; // Cosine value 
var arccosineValue = StrictMath.acos(cosineValue);
// arccosineValue is now approximately 1.0 (in radians)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.b2winsuite.com/5.6/scripting/utilities/strictmath.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
