import json
import math

# Le point du cercle à l'angle π/3, celui de 04-direction.py : ses deux coordonnées et sa distance au centre
theta = math.pi / 3
c, s = math.cos(theta), math.sin(theta)
print(json.dumps({"label": "π/3", "theta": round(theta, 3), "degrees": round(math.degrees(theta), 1), "cos": round(c, 3), "sin": round(s, 3), "radius": round(math.sqrt(c ** 2 + s ** 2), 3)}))
