Author: Mentrard

0

 + 

 =

Ver el resultado

La carrera parte del punto A, luego pasa por el punto B (móvil) y termina en el 
punto C (también móvil). Vuestra misión, si la aceptáis, es calcular el
resultado de este recorrido entre A y C.

A = Point(yAxis)
text3: "" + (x(A))
B_1 = (2, 5)
a = Line(A, B_1)
B = Point(a)
b = OrthogonalLine(B, a)
A': (x(B), 2.0)
c = Line(A', a)
D = Intersect(c, b)
u = Vector(B, D)
C = Point(c)
e: x(D)
d: x(C)
f: d - e
text4: "" + f
g = Segment(A, B)
h = Segment(D, C)
C_1 = Mirror(A, c)
i = Line(C_1, c)
text5: "" + (x(C_1))
C_2 = Translate(C, u)
j = Segment(C_1, C_2)
k: e + f
text6: " " + k
E = (5, 1)
v = Vector(C, C_2)
F = Midpoint(g)
T1: "" + (x(B))
T2: "+  " + (x(C) - x(B))
G = Midpoint(C, D)
l = Segment(A, C_1)
H = Midpoint(C_1, C_2)
I = Midpoint(B, D)
m = Segment(B, I)
n = Segment(I, D)
N = Point(c)
p = Circle(F, 1.0)
J = Intersect(a, g)
K, L = Intersect(p, g)
w = Vector(K, L)
q = Circle(G, 1.0)
M, O = Intersect(q, h)
z = Vector(M, O)
r = Circle(I, 0.5)
P = Intersect(r, n)
Q = Intersect(r, m)
s = Vector(Q, P)
T3: "" + (x(C) - x(B))
T4: "+ " + (x(B))
t = Segment(C, C_2)
T5: "( + " + (x(C) - x(B)) + " ) "
T6: "( " + (x(C) - x(B)) + " )"
T7: "( " + (x(B)) + " )"
T8: "( + " + (x(B)) + " )"
R = (-12, -5)
T = (-4, -5)
T10: "  " + k
S = (-13, -3)
U = (9, -3)
V = (9, -6)
W = (-13, -6)
poly1, s_1, u_1, v_1, w_1 = Polygon(S, U, V, W)
o = false