Omotetia
Author: Ubaldo Pernigo
Date: 14 Marzo 2015

Mostra trasformata

A = (3, 5)
B = (4, 3)
C = (6, 3)
poli1, c, a, b = Polygon(A, B, C)
O = (3, 2)
k = 1.5 (slider from -5 to 5, step 0.1)
A' = Dilate(A, k, O)
B' = Dilate(B, k, O)
C' = Dilate(C, k, O)
poli1', c', a', b' = Polygon(A', B', C')
d = Line(O, A')
e = Line(O, B')
f = Line(O, C')
testo1: "k=\frac{" + (LaTeX[a']) + "}{" + (LaTeX[a]) + "}=\frac{" + (LaTeX[b']) + "}{" + (LaTeX[b]) + "}=\frac{" + (LaTeX[c']) + "}{" + (LaTeX[c]) + "}=" + (LaTeX[k]) + ""
testo2: "\frac{area'}{area}=\frac{" + (LaTeX[poli1']) + "}{" + (LaTeX[poli1]) + "}=" + (LaTeX[k^(2)]) + ""
g = true