NB. D'ESSAIS

MOYENNE

SCORES

°

α=

NIVEAUX

niveau = 1 (slider from 1 to 5, step 1)
A: (Random[-20, 20] / 10, Random[-20, 20] / 10)
n: 0
temps = 0 (slider from 0 to 1, step 0.1)
B2 = mean(A5:A100)
Moyenne[A5:A24] = mean(A5:A99)
r = Random(3, 6)
cercle = Circle(A, r)
C = Point(cercle)
position: Random[0, 360]°
D = Rotate(C, position, A)
angle = If(niveau ≟ 1, (Random[1, 2] * 90°), If[niveau ≟ 2, (Random[1, 4] * 45°), If[niveau ≟ 3, (Random[1, 6] * 30°), If[niveau ≟ 4, (Random[1, 12] * 15°), If[niveau ≟ 5, (Random[1, 36] * 5°)]]]])
E = Rotate(D, angle, A)
α = Angle(D, A, E)
a = Segment(A, D)
b = Segment(A, E)
oeil = NaN
demarrage: 0
mesure = Textfield(oeil)
bravo = Text("BRAVO!")
reponse: "" + (LaTeX[α]) + ""
A2: n
ecart: abs(oeil° - angle)
B = (-9.8, 3.6)
F: B + (0.5, 0)
G = Rotate(F, (temps * 360°), B)
d = CircleSector(B, F, G)
multiple = If(niveau ≟ 1, 90, If[niveau ≟ 2, 45, If[niveau ≟ 3, 30, If[niveau ≟ 4, 15, If[niveau ≟ 5, 5]]]])
texte2: "Multiples de " + multiple + "°"