A = Intersect(xAxis, yAxis)
Z = (0, 12)
z = Segment(A, Z)
v = 9 (slider from 0.5 to 9, step 0.1)
g: (10.0 - v) / 2.0
B: (g, 0.0)
c = OrthogonalLine(B, xAxis)
D: (0.0, v)
d = OrthogonalLine(D, yAxis)
C = Intersect(d, c)
pl, a, b, c_1, d_1 = Polygon(A, B, C, D)
A@1 = 6.754999999999994
A@2 = 8.594999999999986
A@3 = 10.395000000000012
A@4 = 13.019999999999987
A@5 = 14.720000000000011
A@6 = 16.380000000000006
A@7 = 18
A@8 = 19.579999999999995
A@9 = 21.11999999999999
A@10 = 22.62000000000001
A@11 = 24.080000000000005
A@12 = 25.5
A@13 = 26.879999999999995
A@14 = 28.875
A@15 = 30.154999999999994
A@16 = 31.394999999999992
A@17 = 32.595
A@18 = 33.755
A@19 = 34.875
A@20 = 35.955
A@21 = 36.995000000000005
A@22 = 37.995
A@23 = 40.32
A@24 = 42.779999999999994
A@25 = 44.88
A@26 = 46.08
A@27 = 46.355000000000004
A@28 = 46.875
A@29 = 48.195
A@30 = 48.875
A@31 = 49.395
A@32 = 49.92
A@33 = 49.92
A@34 = 49.595
A@35 = 49.155
A@36 = 48.195
A@37 = 46.355
A@38 = 44.22
A@39 = 41.18
A@40 = 38.955
A@41 = 35.955000000000005
A@42 = 31.395000000000003
A@43 = 28.875
A@44 = 24.08
A@45 = 21.12
A@46 = 14.719999999999999
A@47 = 10.395
A@48 = 4.875
A@49 = 6.755
A@50 = 12.155
A@51 = 18
A@52 = 19.580000000000002
A@53 = 21.12
A@54 = 22.619999999999997
A@55 = 24.08
A@56 = 25.5
A@57 = 26.880000000000003
A@58 = 28.220000000000002
A@59 = 28.875
A@60 = 30.155
A@61 = 31.395000000000003
A@62 = 32.595
A@63 = 33.754999999999995
A@64 = 34.875
A@65 = 35.955000000000005
A@66 = 36.995000000000005
A@67 = 37.995
A@68 = 38.955
A@69 = 39.42
A@70 = 41.18
A@71 = 42.78
A@72 = 44.22
A@73 = 45.5
A@74 = 46.355
A@75 = 48.195
A@76 = 49.595
A@77 = 49.98
A@78 = 49.92
A@79 = 49.155
A@80 = 47.795
A@81 = 44.88
A@82 = 42
A@83 = 37.995
A@84 = 31.394999999999992
A@85 = 19.579999999999995
A@86 = 8.594999999999986
A@87 = 4.875
A@88 = 8.594999999999986
A@89 = 16.380000000000006
A@90 = 22.62000000000001
A@91 = 28.875
A@92 = 33.755
A@93 = 36.995000000000005
A@94 = 39.42
A@95 = 41.18
A@96 = 42.779999999999994
A@97 = 43.52
A@98 = 44.22
A@99 = 45.5
A@100 = 46.355000000000004
A@101 = 46.875
A@102 = 47.355
A@103 = 47.795
A@104 = 48.195
A@105 = 48.555
A@106 = 48.875
A@107 = 49.155
A@108 = 49.595
A@109 = 49.68
A@110 = 49.92
A@111 = 49.98
A@112 = 49.82
A@113 = 49.395
A@114 = 48.875
A@115 = 47.355000000000004
A@116 = 46.080000000000005
A@117 = 44.22
A@118 = 40.32
A@119 = 35.955000000000005
A@120 = 32.595
A@121 = 28.875
A@122 = 28.220000000000002
S: (a, pl)
tekst1: "v = " + v
tekst2: "x = " + a
tekst3: "x = " + a
A1 = 4.7
B1 = 0.6
C1 = 4.7
D1 = 2.82
A2 = 4.65
B2 = 0.7
C2 = 4.65
D2 = 3.255
A3 = 4.6
B3 = 0.8
C3 = 4.6
D3 = 3.6799999999999997
A4 = 4.55
B4 = 0.9
C4 = 4.55
D4 = 4.095
A5 = 4.5
B5 = 1
C5 = 4.5
D5 = 4.5
A6 = 4.45
B6 = 1.1
C6 = 4.45
D6 = 4.8950000000000005
A7 = 4.4
B7 = 1.2
C7 = 4.4
D7 = 5.28
A8 = 4.35
B8 = 1.3
C8 = 4.35
D8 = 5.654999999999999
A9 = 4.3
B9 = 1.4
C9 = 4.3
D9 = 6.02
A10 = 4.25
B10 = 1.5
C10 = 4.25
D10 = 6.375
A11 = 4.2
B11 = 1.6
C11 = 4.2
D11 = 6.720000000000001
A12 = 4.15
B12 = 1.7
C12 = 4.15
D12 = 7.055000000000001
A13 = 4.1
B13 = 1.8
C13 = 4.1
D13 = 7.38
A14 = 4.05
B14 = 1.9
C14 = 4.05
D14 = 7.694999999999999
A15 = 4
B15 = 2
C15 = 4
D15 = 8
A16 = 3.95
B16 = 2.1
C16 = 3.95
D16 = 8.295
A17 = 3.9
B17 = 2.2
C17 = 3.9
D17 = 8.58
A18 = 3.85
B18 = 2.3
C18 = 3.85
D18 = 8.854999999999999
A19 = 3.8
B19 = 2.4
C19 = 3.8
D19 = 9.12
A20 = 3.75
B20 = 2.5
C20 = 3.75
D20 = 9.375
A21 = 3.7
B21 = 2.6
C21 = 3.7
D21 = 9.620000000000001
A22 = 3.65
B22 = 2.7
C22 = 3.65
D22 = 9.855
A23 = 3.6
B23 = 2.8
C23 = 3.6
D23 = 10.08
A24 = 3.55
B24 = 2.9
C24 = 3.55
D24 = 10.295
A25 = 3.5
B25 = 3
C25 = 3.5
D25 = 10.5
A26 = 3.45
B26 = 3.1
C26 = 3.45
D26 = 10.695
A27 = 3.4
B27 = 3.2
C27 = 3.4
D27 = 10.88
A28 = 3.35
B28 = 3.3
C28 = 3.35
D28 = 11.055
A29 = 3.3
B29 = 3.4
C29 = 3.3
D29 = 11.219999999999999
A30 = 3.25
B30 = 3.5
C30 = 3.25
D30 = 11.375
A31 = 3.2
B31 = 3.6
C31 = 3.2
D31 = 11.520000000000001
A32 = 3.15
B32 = 3.7
C32 = 3.15
D32 = 11.655
A33 = 3.1
B33 = 3.8
C33 = 3.1
D33 = 11.78
A34 = 3.05
B34 = 3.9
C34 = 3.05
D34 = 11.895
A35 = 3
B35 = 4
C35 = 3
D35 = 12
A36 = 2.95
B36 = 4.1
C36 = 2.95
D36 = 12.094999999999999
A37 = 2.9
B37 = 4.2
C37 = 2.9
D37 = 12.18
A38 = 2.85
B38 = 4.3
C38 = 2.85
D38 = 12.254999999999999
A39 = 2.8
B39 = 4.4
C39 = 2.8
D39 = 12.32
A40 = 2.75
B40 = 4.5
C40 = 2.75
D40 = 12.375
A41 = 2.7
B41 = 4.6
C41 = 2.7
D41 = 12.42
A42 = 2.65
B42 = 4.7
C42 = 2.65
D42 = 12.455
A43 = 2.6
B43 = 4.8
C43 = 2.6
D43 = 12.48
A44 = 2.55
B44 = 4.9
C44 = 2.55
D44 = 12.495
A45 = 2.5
B45 = 5
C45 = 2.5
D45 = 12.5
A46 = 2.45
B46 = 5.1
C46 = 2.45
D46 = 12.495
A47 = 2.4
B47 = 5.2
C47 = 2.4
D47 = 12.48
A48 = 2.35
B48 = 5.3
C48 = 2.35
D48 = 12.455
A49 = 2.3
B49 = 5.4
C49 = 2.3
D49 = 12.42
A50 = 2.25
B50 = 5.5
C50 = 2.25
D50 = 12.375
A51 = 2.2
B51 = 5.6
C51 = 2.2
D51 = 12.32
A52 = 2.15
B52 = 5.7
C52 = 2.15
D52 = 12.254999999999999
A53 = 2.1
B53 = 5.8
C53 = 2.1
D53 = 12.18
A54 = 2.05
B54 = 5.9
C54 = 2.05
D54 = 12.094999999999999
A55 = 2
B55 = 6
C55 = 2
D55 = 12
A56 = 1.9500000000000002
B56 = 6.1
C56 = 1.9500000000000002
D56 = 11.895
A57 = 1.9
B57 = 6.2
C57 = 1.9
D57 = 11.78
A58 = 1.85
B58 = 6.3
C58 = 1.85
D58 = 11.655
A59 = 1.7999999999999998
B59 = 6.4
C59 = 1.7999999999999998
D59 = 11.52
A60 = 1.75
B60 = 6.5
C60 = 1.75
D60 = 11.375
A61 = 1.7000000000000002
B61 = 6.6
C61 = 1.7000000000000002
D61 = 11.22
A62 = 1.65
B62 = 6.7
C62 = 1.65
D62 = 11.055
A63 = 1.6
B63 = 6.8
C63 = 1.6
D63 = 10.88
A64 = 1.5499999999999998
B64 = 6.9
C64 = 1.5499999999999998
D64 = 10.694999999999999
A65 = 1.5
B65 = 7
C65 = 1.5
D65 = 10.5
A66 = 1.4500000000000002
B66 = 7.1
C66 = 1.4500000000000002
D66 = 10.295
A67 = 1.4
B67 = 7.2
C67 = 1.4
D67 = 10.08
A68 = 1.35
B68 = 7.3
C68 = 1.35
D68 = 9.855
A69 = 1.2999999999999998
B69 = 7.4
C69 = 1.2999999999999998
D69 = 9.62
A70 = 1.25
B70 = 7.5
C70 = 1.25
D70 = 9.375
A71 = 1.2000000000000002
B71 = 7.6
C71 = 1.2000000000000002
D71 = 9.120000000000001
A72 = 1.15
B72 = 7.7
C72 = 1.15
D72 = 8.854999999999999
A73 = 1.1
B73 = 7.8
C73 = 1.1
D73 = 8.58
A74 = 1.0499999999999998
B74 = 7.9
C74 = 1.0499999999999998
D74 = 8.294999999999998
A75 = 1
B75 = 8
C75 = 1
D75 = 8
A76 = 0.9500000000000002
B76 = 8.1
C76 = 0.9500000000000002
D76 = 7.695000000000001
A77 = 0.9000000000000004
B77 = 8.2
C77 = 0.9000000000000004
D77 = 7.380000000000003
A78 = 0.8499999999999996
B78 = 8.3
C78 = 0.8499999999999996
D78 = 7.054999999999998
A79 = 0.7999999999999998
B79 = 8.4
C79 = 0.7999999999999998
D79 = 6.719999999999999
A80 = 0.75
B80 = 8.5
C80 = 0.75
D80 = 6.375
A81 = 0.7000000000000002
B81 = 8.6
C81 = 0.7000000000000002
D81 = 6.020000000000001
A82 = 0.6500000000000004
B82 = 8.7
C82 = 0.6500000000000004
D82 = 5.655000000000003
A83 = 0.5999999999999996
B83 = 8.8
C83 = 0.5999999999999996
D83 = 5.279999999999998
A84 = 0.5499999999999998
B84 = 8.9
C84 = 0.5499999999999998
D84 = 4.894999999999999
A85 = 0.5
B85 = 9
C85 = 0.5
D85 = 4.5
P_1: (C1, D1)
P_2: (C2, D2)
P_3: (C3, D3)
P_4: (C4, D4)
P_5: (C5, D5)
P_6: (C6, D6)
P_7: (C7, D7)
P_8: (C8, D8)
P_9: (C9, D9)
P_{10}: (C10, D10)
P_{11}: (C11, D11)
P_{12}: (C12, D12)
P_{13}: (C13, D13)
P_{14}: (C14, D14)
P_{15}: (C15, D15)
P_{16}: (C16, D16)
P_{17}: (C17, D17)
P_{18}: (C18, D18)
P_{19}: (C19, D19)
P_{20}: (C20, D20)
P_{21}: (C21, D21)
P_{22}: (C22, D22)
P_{23}: (C23, D23)
P_{24}: (C24, D24)
P_{25}: (C25, D25)
P_{26}: (C26, D26)
P_{27}: (C27, D27)
P_{28}: (C28, D28)
P_{29}: (C29, D29)
P_{30}: (C30, D30)
P_{31}: (C31, D31)
P_{32}: (C32, D32)
P_{33}: (C33, D33)
P_{34}: (C34, D34)
P_{35}: (C35, D35)
P_{36}: (C36, D36)
P_{37}: (C37, D37)
P_{38}: (C38, D38)
P_{39}: (C39, D39)
P_{40}: (C40, D40)
P_{41}: (C41, D41)
P_{42}: (C42, D42)
P_{43}: (C43, D43)
P_{44}: (C44, D44)
P_{45}: (C45, D45)
P_{46}: (C46, D46)
P_{47}: (C47, D47)
P_{48}: (C48, D48)
P_{49}: (C49, D49)
P_{50}: (C50, D50)
P_{51}: (C51, D51)
P_{52}: (C52, D52)
P_{53}: (C53, D53)
P_{54}: (C54, D54)
P_{55}: (C55, D55)
P_{56}: (C56, D56)
P_{57}: (C57, D57)
P_{58}: (C58, D58)
P_{59}: (C59, D59)
P_{60}: (C60, D60)
P_{61}: (C61, D61)
P_{62}: (C62, D62)
P_{63}: (C63, D63)
P_{64}: (C64, D64)
P_{65}: (C65, D65)
P_{66}: (C66, D66)
P_{67}: (C67, D67)
P_{68}: (C68, D68)
P_{69}: (C69, D69)
P_{70}: (C70, D70)
P_{71}: (C71, D71)
P_{72}: (C72, D72)
P_{73}: (C73, D73)
P_{74}: (C74, D74)
P_{75}: (C75, D75)
P_{76}: (C76, D76)
P_{77}: (C77, D77)
P_{78}: (C78, D78)
P_{79}: (C79, D79)
P_{80}: (C80, D80)
P_{81}: (C81, D81)
P_{82}: (C82, D82)
P_{83}: (C83, D83)
P_{84}: (C84, D84)
P_{85}: (C85, D85)
seznam1: {P_1, P_2, P_3, P_4, P_5, P_6, P_7, P_8, P_9, P_{10}, P_{11}, P_{12}, P_{13}, P_{14}, P_{15}, P_{16}, P_{17}, P_{18}, P_{19}, P_{20}, P_{21}, P_{22}, P_{23}, P_{24}, P_{25}, P_{26}, P_{27}, P_{28}, P_{29}, P_{30}, P_{31}, P_{32}, P_{33}, P_{34}, P_{35}, P_{36}, P_{37}, P_{38}, P_{39}, P_{40}, P_{41}, P_{42}, P_{43}, P_{44}, P_{45}, P_{46}, P_{47}, P_{48}, P_{49}, P_{50}, P_{51}, P_{52}, P_{53}, P_{54}, P_{55}, P_{56}, P_{57}, P_{58}, P_{59}, P_{60}, P_{61}, P_{62}, P_{63}, P_{64}, P_{65}, P_{66}, P_{67}, P_{68}, P_{69}, P_{70}, P_{71}, P_{72}, P_{73}, P_{74}, P_{75}, P_{76}, P_{77}, P_{78}, P_{79}, P_{80}, P_{81}, P_{82}, P_{83}, P_{84}, P_{85}}
f(x) = x * (10.0 - 2.0 * x)
E = Extremum(f)