- 1

In mathematics we denote iota by i. iota means (-1)^(1/2). Then why do we denote iota by j in Python?

Why 'j' not 'i', that's what I am saying. i is the most suited I think. This is about complex numbers in python e.g c_p = 2 + 5j c_p2 = 2+ 3j print(c_p+c_p2) #Prints 4 +8j

18th Apr 2020, 2:22 PM
Mousin Ahanger
Mousin Ahanger - avatar
2 odpowiedzi
+ 3
Is there any code you can share with us? This could be very helpful to clearly understand what you mean. Thanks!
18th Apr 2020, 2:42 PM
Lothar
Lothar - avatar
0
Ooo about complex number. Ok complex nums in math use sytax i, but in python used j since in engineering used j instead of i. You can read about it from following link si ce my english is not good for correct explanation. https://stackoverflow.com/questions/24812444/why-are-complex-numbers-in-python-denoted-with-j-instead-of-i
18th Apr 2020, 3:23 PM
george
george - avatar