import math

# Trois quarts de tour : θ = 2π × 3/4 = 3π/2
theta = 2 * math.pi * 3 / 4
print("θ =", round(theta, 3), "rad")
# + 0.0 : l'arrondi peut laisser un -0.0, qu'on affiche 0.0
print("cos θ =", round(math.cos(theta), 3) + 0.0)
print("sin θ =", round(math.sin(theta), 3) + 0.0)
# Le même point, atteint en tournant d'un quart de tour dans l'autre sens
print("cos(-π/2) =", round(math.cos(-math.pi / 2), 3) + 0.0, "  sin(-π/2) =", round(math.sin(-math.pi / 2), 3) + 0.0)
