import cmath
import json
import math

# Le nombre e puissance iπ/3, vu comme un point : ses deux cases et sa distance à zéro (ligne « θ = π/3 » de 05-circle.py)
theta = math.pi / 3
u = cmath.exp(1j * theta)
print(json.dumps({"label": "π/3", "theta": round(theta, 3), "real": round(u.real, 3), "imag": round(u.imag, 3), "radius": round(abs(u), 3)}))
