Back to Symbolic Math (SymEngine)
sym.cos
Computes the cosine of a symbolic expression.
Syntax
sym.cos(x)
Description
Computes the cosine of a symbolic expression. The cosine function returns the ratio of the adjacent side to the hypotenuse in a right triangle. For symbolic expressions, it creates a symbolic cos(x) that can be manipulated algebraically.
Parameters
| Name | Description |
|---|---|
| x | - The angle in radians (as a symbolic expression). |
Returns
Expr