Загрузка данных
<mxfile host="app.diagrams.net" agent="Mozilla/5.0" version="24.0.0">
<diagram id="lab7_v10_clean" name="Лабораторная 7.1">
<mxGraphModel dx="1400" dy="1600" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="1654" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="b_start" value="начало" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="450" y="30" width="130" height="40" as="geometry" />
</mxCell>
<mxCell id="b_in" value="вв. x, n" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="445" y="95" width="140" height="40" as="geometry" />
</mxCell>
<mxCell id="b_s0" value="S = 0" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="455" y="160" width="120" height="35" as="geometry" />
</mxCell>
<!-- Внешний цикл k -->
<mxCell id="b_loop_k" value="k = 1 .. n" style="shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="440" y="220" width="150" height="45" as="geometry" />
</mxCell>
<!-- Проверка k = 2 -->
<mxCell id="b_chk_k" value="k = 2" style="rhombus;whiteSpace=wrap;html=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="460" y="295" width="110" height="45" as="geometry" />
</mxCell>
<!-- Формула слагаемого -->
<mxCell id="b_term_k" value="u = (-3)³ᵏ⁺¹ / (2 · (k - 2) · x³ᵏ⁺¹)
P = 1" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=12;" vertex="1" parent="1">
<mxGeometry x="400" y="375" width="230" height="45" as="geometry" />
</mxCell>
<!-- Внутренний цикл m -->
<mxCell id="b_loop_m" value="m = 1 .. k + 2" style="shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="435" y="450" width="160" height="45" as="geometry" />
</mxCell>
<!-- Проверка m = 4 -->
<mxCell id="b_chk_m" value="m = 4" style="rhombus;whiteSpace=wrap;html=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="460" y="525" width="110" height="45" as="geometry" />
</mxCell>
<!-- Умножение P -->
<mxCell id="b_calc_p" value="P = P · (m³ - 8) / (m - 4)" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=13;" vertex="1" parent="1">
<mxGeometry x="420" y="605" width="190" height="35" as="geometry" />
</mxCell>
<!-- Накопление суммы S -->
<mxCell id="b_add_s" value="S = S + u · P" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="450" y="720" width="130" height="35" as="geometry" />
</mxCell>
<!-- Вывод -->
<mxCell id="b_out" value="выв. S" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="450" y="830" width="130" height="40" as="geometry" />
</mxCell>
<!-- Конец -->
<mxCell id="b_end" value="конец" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="450" y="905" width="130" height="40" as="geometry" />
</mxCell>
<!-- Основная вертикальная ось -->
<mxCell id="e_1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;" edge="1" parent="1" source="b_start" target="b_in"><mxGeometry relative="1" as="geometry" /></mxCell>
<mxCell id="e_2" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;" edge="1" parent="1" source="b_in" target="b_s0"><mxGeometry relative="1" as="geometry" /></mxCell>
<mxCell id="e_3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;" edge="1" parent="1" source="b_s0" target="b_loop_k"><mxGeometry relative="1" as="geometry" /></mxCell>
<mxCell id="e_4" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;" edge="1" parent="1" source="b_loop_k" target="b_chk_k"><mxGeometry relative="1" as="geometry" /></mxCell>
<mxCell id="e_k_no" value="Нет" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;fontColor=#B91C1C;fontStyle=1;labelBackgroundColor=#FFFFFF;" edge="1" parent="1" source="b_chk_k" target="b_term_k"><mxGeometry relative="1" as="geometry" /></mxCell>
<mxCell id="e_5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;" edge="1" parent="1" source="b_term_k" target="b_loop_m"><mxGeometry relative="1" as="geometry" /></mxCell>
<mxCell id="e_6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;" edge="1" parent="1" source="b_loop_m" target="b_chk_m"><mxGeometry relative="1" as="geometry" /></mxCell>
<mxCell id="e_m_no" value="Нет" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;fontColor=#B91C1C;fontStyle=1;labelBackgroundColor=#FFFFFF;" edge="1" parent="1" source="b_chk_m" target="b_calc_p"><mxGeometry relative="1" as="geometry" /></mxCell>
<mxCell id="e_end" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;" edge="1" parent="1" source="b_out" target="b_end"><mxGeometry relative="1" as="geometry" /></mxCell>
<!-- ВЕТКА k = 2 (Да: пропуск слагаемого) — строго справа, X = 720 -->
<mxCell id="e_k_yes" value="Да" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;fontColor=#047857;fontStyle=1;labelBackgroundColor=#FFFFFF;" edge="1" parent="1" source="b_chk_k" target="b_loop_k">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="720" y="318" />
<mxPoint x="720" y="780" />
<mxPoint x="220" y="780" />
<mxPoint x="220" y="242" />
</Array>
</mxGeometry>
</mxCell>
<!-- ВЕТКА m = 4 (Да: пропуск множителя) — обход справа, коридор X = 650 -->
<mxCell id="e_m_yes" value="Да" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;fontColor=#047857;fontStyle=1;labelBackgroundColor=#FFFFFF;" edge="1" parent="1" source="b_chk_m" target="b_loop_m">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="650" y="548" />
<mxPoint x="650" y="665" />
<mxPoint x="360" y="665" />
<mxPoint x="360" y="472" />
</Array>
</mxGeometry>
</mxCell>
<!-- ВЫЧИСЛЕНИЕ P — замыкание цикла m слева, коридор X = 360 -->
<mxCell id="e_p_ret" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;" edge="1" parent="1" source="b_calc_p" target="b_loop_m">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="515" y="665" />
<mxPoint x="360" y="665" />
<mxPoint x="360" y="472" />
</Array>
</mxGeometry>
</mxCell>
<!-- ВЫХОД ИЗ ЦИКЛА m (Нет) -> переход к сумме S, коридор X = 300 -->
<mxCell id="e_m_exit" value="Нет" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;fontColor=#B91C1C;fontStyle=1;labelBackgroundColor=#FFFFFF;" edge="1" parent="1" source="b_loop_m" target="b_add_s">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="300" y="472" />
<mxPoint x="300" y="737" />
</Array>
</mxGeometry>
</mxCell>
<!-- ЗАМЫКАНИЕ ЦИКЛА k ПОСЛЕ СУММЫ S, коридор X = 220 -->
<mxCell id="e_k_ret" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;" edge="1" parent="1" source="b_add_s" target="b_loop_k">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="515" y="780" />
<mxPoint x="220" y="780" />
<mxPoint x="220" y="242" />
</Array>
</mxGeometry>
</mxCell>
<!-- ВЫХОД ИЗ ЦИКЛА k (Нет) -> ВЫВОД S, дальний коридор слева X = 120 -->
<mxCell id="e_k_exit" value="Нет" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;fontColor=#B91C1C;fontStyle=1;labelBackgroundColor=#FFFFFF;" edge="1" parent="1" source="b_loop_k" target="b_out">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="120" y="242" />
<mxPoint x="120" y="850" />
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>