trójkąt 1

trójkąt 2

trójkąt 3

trójkąt 4

e

f

Przesuwając punkt                otrzymasz kwadrat lub romb.

Pole \; kwadratu

d

d

Pole \; rombu

P=\frac{e \cdot f}{2}

wzór

P=\frac{d\cdot d}{2}

wzór

f

e

d

d

przykład

A = (-18, -2)
B = (-4, -2)
a = Line(A, B)
b = OrthogonalLine(B, a)
C = Point(b)
wielokąt1, c, a_1, b_1 = Polygon(A, B, C)
A' = Mirror(A, a)
B' = Mirror(B, a)
C' = Mirror(C, a)
wielokąt1', c', a', b' = Polygon(A', B', C')
A'_1 = Mirror(A, b)
B'_1 = Mirror(B, b)
C'_1 = Mirror(C, b)
wielokąt1'_1, c'_1, a'_1, b'_1 = Polygon(A'_1, B'_1, C'_1)
D = Mirror(A'_1, a)
E = Mirror(B'_1, a)
F = Mirror(C'_1, a)
wielokąt2, f, d, e = Polygon(D, E, F)
G = Midpoint(A, C)
H = Midpoint(C, A'_1)
I = Midpoint(A'_1, C')
J = Midpoint(C', A)
obrót1 = 0 rad (slider from 0 to 180*°, step 0.0174532925199433)
obrót2 = 0 rad (slider from 0 to 180*°, step 0.0174532925199433)
obrót3 = 0 rad (slider from 0 to 180*°, step 0.0174532925199433)
obrót4 = 0 rad (slider from 0 to 180*°, step 0.0174532925199433)
A'_2 = Rotate(A, obrót1, G)
B'_2 = Rotate(B, obrót1, G)
C'_2 = Rotate(C, obrót1, G)
wielokąt1'_2, c'_2, a'_2, b'_2 = Polygon(A'_2, B'_2, C'_2)
K = Rotate(A'_1, obrót2, H)
L = Rotate(B'_1, obrót2, H)
M = Rotate(C'_1, obrót2, H)
wielokąt3, m, k, l = Polygon(K, L, M)
D' = Rotate(D, obrót3, I)
E' = Rotate(E, obrót3, I)
F' = Rotate(F, obrót3, I)
wielokąt2', f', d', e' = Polygon(D', E', F')
A'' = Rotate(A', obrót4, J)
B'' = Rotate(B', obrót4, J)
C'' = Rotate(C', obrót4, J)
wielokąt1'', c'', a'', b'' = Polygon(A'', B'', C'')
N = Intersect(d', f')
g = Line(B'', N)
h = Line(B'_2, L)
O = Point(g)
j = Line(L, E')
Q = Point(j)
n = OrthogonalLine(Q, j)
p = OrthogonalLine(A, n)
R = Intersect(n, p)
S = Intersect(j, n)
T = Midpoint(R, S)
V = (22, -16)
q = Segment(C', C)
r = Segment(A'_1, A)
Z = Point(j)
s = OrthogonalLine(Z, j)
A_1 = Intersect(p, s)
t = Vector(Z, A_1)
u_1 = Vector(A_1, Z)
B_1 = Midpoint(Z, A_1)
C_1 = Point(h)
c_1 = OrthogonalLine(C_1, h)
D_1 = Intersect(g, c_1)
w = Vector(D_1, C_1)
z = Vector(C_1, D_1)
E_1 = Intersect(c_1, a)
i = true
o = true
P = Midpoint(A, B)
U = Midpoint(B, C)
W = Midpoint(C, B)
F_1 = Midpoint(A, B)
H_1 = Point(r)
j_1 = Segment(B'', A'')
I_1 = Point(j_1)
l_1 = Segment(C'_2, B'_2)
J_1 = Point(l_1)
m_1 = Segment(J_1, A'_2)
L_1 = Point(j_1)
n_1 = Segment(C'', L_1)
K_1 = Point(n_1)
q_1 = Segment(K, L)
M_1 = Point(q_1)
r_1 = Segment(M_1, M)
s_1 = Segment(F', E')
N_1 = Point(s_1)
t_1 = Segment(N_1, D')
a_2 = Segment(K, M_1)
b_2 = Segment(M_1, M)
A_2 = (6.2972004518169555, -4.472162776363611)
B_2 = (19.297200451816963, -4.472162776363611)
a_3 = Line(A_2, B_2)
b_3 = OrthogonalLine(B_2, a_3)
C_2 = Point(b_3)
wielokąt1_1, c_2, a_4, b_4 = Polygon(A_2, B_2, C_2)
A'_4 = Mirror(A_2, a_3)
B'_4 = Mirror(B_2, a_3)
C'_3 = Mirror(C_2, a_3)
A'_3 = Mirror(A_2, b_3)
B'_3 = Mirror(B_2, b_3)
C'_4 = Mirror(C_2, b_3)
D_2 = Mirror(A'_3, a_3)
G_2 = Midpoint(A_2, C_2)
H_3 = Midpoint(C_2, A'_3)
I_2 = Midpoint(A'_3, C'_3)
J_2 = Midpoint(C'_3, A_2)
P_1 = Midpoint(A_2, B_2)
U_1 = Midpoint(B_2, C_2)
W_1 = Midpoint(C_2, B_2)
F_2 = Midpoint(A_2, B_2)
u = true
tekst7: "P=\frac{" + (LaTeX[q]) + "\cdot" + (LaTeX[r]) + "}{2}=" + (LaTeX[q * r * 0.5]) + ""