Operators and trigonometric functions
The basic mathematical operators and functions provided by Cassiopeia make it possible above all to facilitate the link between the results of one calculation module and the input into another in the case of a sequence of calculations between several modules. The provided example "Weir jet length" shows the use of the "Linear function" module.
Linear function
The linear function module solves the equation of a line:
Three parameters must be entered and the module calculates the missing parameter.
Sum and product of powers
This module allows to write an equation summing powers in the form \(a x ^ n\) with \(a\), \(x\), and \(n\) of real numbers.
In the case of a sum the equation solved by the module is written:
In the case of a product the equation solved by the module is written:
All parameters must be entered except the last one which is the value calculated in the equation.
Trigonometric function
This module allows to calculate the value of a trigonometric function or its inverse.
The equation solved by this module is written:
With \(f\), a trigonometric function and \(x\) an angle in degrees or radian.
The "Operation" parameter allows to choose the operator among the available functions: cos, sin, tan, cosh, sinh and tanh. The "Unit" parameter is used to choose between degree and radian.