Get your own Python server Result Size: 625 x 565
x
 
#import cmath for complex number operations 
import cmath
#find the cosine of a complex number
print (cmath.cos(2 + 3j))
(-4.189625690968807-9.109227893755337j)