How do you obtain the real and imaginary parts of a complex number ‘’p’’ as separate?
Answers
Answered by
6
Answer:
An complex number is represented by “ x + yi “. Python converts the real numbers x and y into complex using the function complex(x,y). The real part can be accessed using the function real() and imaginary part can be represented by imag().
Mark me Brainliest!!
Answered by
0
Answer:
Explanation:
A complex number is a number that can be put in the form
where is the real part and
are called imaginary part .
When real part is zero in the complex number it is said to be purely imaginary and when the imaginary part is zero then it is a real number .
Here, 'p' is not a complex number.
So, there is no real and imaginary part .
Similar questions