Omotetia
Author: Ubaldo Pernigo
Date: 14 Marzo 2015

Mostra trasformata

A = (1, 5)
B = (2.14, 3.98)
C = (4.38, 3.96)
O = (0, 2)
k = 2 (slider from -5 to 5, step 0.1)
D = (5, 2)
e = Line(O, A)
f = Line(O, B)
h = Line(O, D)
i = Line(O, C)
a = PolyLine(A, B, C, D)
A' = Dilate(A, k, O)
B' = Dilate(B, k, O)
C' = Dilate(C, k, O)
D' = Dilate(D, k, O)
a' = PolyLine(A', B', C', D')
text1: "k=\frac{" + (LaTeX[a']) + "}{" + (LaTeX[a]) + "}=" + (LaTeX[k]) + ""
b = true