qat.core.variables.cos
- qat.core.variables.cos(angle)
The cosinus function taking a number as an argument (in radians).
from math import pi from qat.core.variables import cos print(cos(pi / 2))
6.123233995736766e-17
- Parameters
angle (
Variable
orArithExpression
or number) – angle in radians- Returns
cosinus
- Return type
ArithExpression
or number