A set of blocks that allow you to work with numbers

Constants

In Varwin XRMS, constants come in two forms, regular digit and mathematical

Regular digit

A numeric constant block can be used as a field for entering the required numeric value

Mathematical constants

Mathematical constants are quantities whose value does not change

  1. Archimedean constant (number Pi)
  2. Napier’s constant
  3. Golden ratio
  4. Square root
  5. Square root of a half
  6. Infinity

Arithmetic operations

Arithmetic operations can be performed with one or two operands. For example:

With one operand:

  1. Square root
  2. Module
  3. A negative number
  4. Logarithm
  5. Decimal logarithm
  6. Exponent e^
  7. The number 10 to the power of the specified number

With two operands:

  1. Addition
  2. Subtraction
  3. Multiplication
  4. Division
  5. Exponentiation

Trigonometric operations

Block containing the execution of trigonometric operations:

  1. Sinus
  2. Cosine
  3. Tangent
  4. Cotangent
  5. Arcsine
  6. Arccosine
  7. Arctangent

Note

We remind you that ctg α = 1 / tg α

Boolean operations

Returns true or false, used with logic blocks. As true parameters can be used:

  1. Even
  2. Odd
  3. Simple
  4. Whole
  5. Positive
  6. Negative
  7. Divided by

Rounding operations

Operations of rounding non-integer numbers to an integer. Among the available block parameters, there are functions:

  1. Round up
  2. Round to the greater
  3. Round to the lesser

Random numbers

Integer:

A block for generating a random integer whose range can be specified

Real:

Block for generating a random real number from 0 to 1