cos() method is cosine function. Using the
cos(x) method in simpy module, we can compute the cosine of x.
Syntax : sympy.cos(x) Return : Returns the cosine of x
Below is the example using cos() method to find cosine function.
-30.8822353189167 - 67.4727884405875*I
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.