Python cmath.tau Constant
Voorbeeld
Druk de waarde van tau af:
#Import cmath Library
import cmath
#Print the value of tau
print (cmath.tau)
Definitie en gebruik
De cmath.tau
constante retourneert tau, dat is 6.283185307179586.
Het wordt gedefinieerd als de verhouding van de omtrek tot de straal van een cirkel. Tau is een cirkelconstante en de waarde is gelijk aan 2π.
Opmerking: Mathematisch wordt tau weergegeven door τ.
Syntaxis
cmath.tau
Technische details
Winstwaarde: | Een float waarde, 6.283185307179586, die de wiskundige constante tau . voorstelt |
---|---|
Python-versie: | 3.6 |