Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpforms-lite domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/ragipunal.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the businext domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/ragipunal.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/ragipunal.com/wp-includes/functions.php on line 6114
Python Karmaşık Sayılar (Complex) - RAGIP ÜNAL

Blog

Python Karmaşık Sayılar (Complex)

Matematikte, a +b i şeklinde ifade edilirler. Burada a sayısının gerçel (real) kısmını, b ise sanal (imaginary) kısmını ifade etmektedir. i ise √−1 anlamındadır.

>>> 6j*6j
(-36+0j)

Python da i yerine j kullanılmaktadır. 6j*6j nin sonucu 36*j2=36*(-1)=-36+0j olduğunu görmekteyiz.

>>> (2+3j)*1j
(-3+2j)

özetle 2j+3*j=2j+3*(-1)=-3+2j şeklinde hesaplanmıştır.

j’nin katsayısı 1 olsa bile bu yazılmalıdır.

>>> (1+2j)/(1+1j)
(1.5+0.5j)
>>> 1j*1j
(-1+0j)

Leave A Comment

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir