English, asked by sabarishwaran27, 8 months ago

Which of the following is not accepted as a representation of complex numbers in Python?​

Answers

Answered by saloniRevade
2

Explanation:

There are always two real roots of a positive number. For example, if x2 is 25, x is ±5. However, if x2 is -25 real roots do not exist. The square root of any negative number is the square root of its absolute value multiplied by an imaginary unit j = √−1.

Hence √−25 = √25 −1 = √25 × √−1 = 5j

A Complex number consists of real and imaginary component. It is represented as x+yj. Both x and y are real numbers. Y multiplied by imaginary unit forms an imaginary part of complex number.

Examples: 3+2j, 10-5.5J, 9.55+2.3j, 5.11e-6+4j

Python has a built-in complex data type. A complex number object can be created by literal representation as follows −

>>> x = 2+3j

>>> type(x)

The complex number object has two attributes real (returns the real component) and imag (returns imaginary component excluding imaginary unit j)

Answered by krishna210398
0

Answer:

l (or L) stands for long.

Explanation:

How do you constitute complex numbers in Python?

Photograph end result for Which of the subsequent isn't always popular as a illustration of complex numbers in Python?

An complicated quantity is represented by “ x + yi “. Python converts the actual numbers x and y into complicated using the characteristic complex(x,y). The real element may be accessed the usage of the characteristic real() and imaginary part can be represented by using imag().

What kind are complex numbers in Python?

Python's complex quantity items are carried out as  awesome kinds whilst viewed from the C API: one is the Python object uncovered to Python applications, and the opposite is a C structure which represents the actual complex number price. The API gives features for working with both.

Which of the following is not accepted as a representation of complex numbers in Python?​

https://brainly.in/question/24312883

Which of the following is not accepted as a representation of complex numbers in Python?​

https://brainly.in/question/24312893

#SPJ2

Similar questions