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 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 Pi ve e Sayıları, Derece ve Radyan Dönüşümleri - RAGIP ÜNAL

Blog

Python Pi ve e Sayıları, Derece ve Radyan Dönüşümleri

math.pi fonksiyonu pi, math.e fonksyionu da e sayısını döner.

math.degrees(x) fonksiyonu, x radyan cinsiden verilmişse bunu dereceye, math.radians(x) fonksyionu ise x derece cinsinden verilmişse bunu radyana çevirir.

>>> import math
>>> math.radians(30)
0.5235987755982988
>>> math.degrees(math.pi/3)
59.99999999999999
>>> math.degrees(-math.pi)
-180.0
>>> math.e
2.718281828459045
>>> math.pi
3.141592653589793

Leave A Comment

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