Koordinatni sustav

Provjeri točnost

Za nove koordinate klikni na reset ikonu(dvije plave strelice u gornjrm desnom kutu)!

f = 0.6000000000000001 (slider from 0 to 1, step 0.1)
a: round(random() * (10 - f) + f)
c: round(random() * (10 - f) + f)
b: round(random() * (2 - f) + f)
x_A = If(b ≟ 1, a, -a)
d: round(random() * (2 - f) + f)
y_A = If(d ≟ 1, c, -c)
A: (x_A, y_A)
e = false
B = (0, 0)
text1: "Pomakni točku B tako da njene koordinate budu (" + x_A + "," + y_A + ")."
text2 = If(x(A) ≟ x(B) ∧ y(A) ≟ y(B) ∧ e ≟ true, "Bravo!", If[(x(A) ≠ x(B) ∨ y(A) ≠ y(B)) ∧ e ≟ true, "Ne nije točno!"])