0

Can anyone explain me what is complex numbers in python? How do we represent it? What z.real and z.imag does? Explain in detail

26th Aug 2020, 7:16 AM
zeeshan
zeeshan - avatar
2 Antworten
0
In python complex number are of form : z = a+bj a = Real part b = Imaginary part of complex number. Value of j = √-1
26th Aug 2020, 7:21 AM
Anant Mishra
0
Complex numbers extend the idea of the one-dimensional number line to the two-dimensional complex plane by using the horizontal axis for the real part and the vertical axis for the imaginary part. The complex number a+bi can be identified with the point (a,b). Complex numbers are used in many scientific fields, including engineering, electromagnetism, quantum physics, and applied mathematics, such as chaos theory.
26th Aug 2020, 7:39 AM
JaScript
JaScript - avatar