vzor

obraz

vzor

obraz

určenie smeru

určenie veľkosti dielika

Úsečka je totožná.

Úsečka bude zmenšená.

Úsečka bude zväčšená.

smer

dielik

B_1

výsledok

b = 5 (slider from 1 to 10, step 1)
a = 3 (slider from 1 to 10, step 1)
d = false
e = false
text1: "Zmeňte úsečku AB  v pomere
              " + a + " : " + b + "
 

   na úsečku AB_1"
D = (7, 1)
C = (-3, 1)
g = Line(C, D)
A = Point(g)
B = Point(g)
f = Segment(A, B)
E = (2.892897085068414, -1.8055086258179593)
h = Ray(A, E)
F = Point(h)
Bodyvzoru = Sequence(Dilate[F, i, A], i, 0, b)
W = Last(Bodyvzoru)
W_1 = Point(W)
c: a + b
bodyobrazu = Sequence(Dilate[F, i, A], i, 0, a)
Z = Last(bodyobrazu)
Q = Point(Z)
spojnica = Segment(W_1, B)
j = Line(F, spojnica)
Q' = Dilate(Q, 1 / c, A)
B' = Dilate(B, 1 / c, A)
pomer: a / b
usekvzoru = Sequence(Dilate[B, i / b, A], i, 1, b - 1)
X = Element(usekvzoru, b - a)
usekobrazu = Sequence(Dilate[B, i / b, A], i, 1, a)
vys = Last(usekobrazu)
M = Point(vys)
i = Segment(M, Q)
k = Ray(A, M)
l = Segment(A, M)
m = ConstructionStep()