first commit
This commit is contained in:
517
Л2-В6/Блоксхема.drawio
Normal file
517
Л2-В6/Блоксхема.drawio
Normal file
@@ -0,0 +1,517 @@
|
||||
<mxfile host="app.diagrams.net" modified="2024-03-11T07:01:00.290Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" etag="xR261IYYNs-OPL3Uj3Tm" version="22.1.21" type="device" pages="6">
|
||||
<diagram name="Half DIv" id="wbIuXKdkg5ZydlB-8m3I">
|
||||
<mxGraphModel dx="989" dy="509" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontFamily=Helvetica;" edge="1" parent="1" source="TxWHqS0Z3eQh_NNlYQ_y-1" target="TxWHqS0Z3eQh_NNlYQ_y-3">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-1" value="half_div_method(f, a, b, max_iter, eps)" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;fontFamily=Helvetica;" vertex="1" parent="1">
|
||||
<mxGeometry x="340" y="120" width="220" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-2" value="Конец" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;fontFamily=Helvetica;" vertex="1" parent="1">
|
||||
<mxGeometry x="390" y="660" width="120" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontFamily=Helvetica;" edge="1" parent="1" source="TxWHqS0Z3eQh_NNlYQ_y-3" target="TxWHqS0Z3eQh_NNlYQ_y-5">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-3" value="x_n = (a + b) / 2<br>i = 0" style="rounded=0;whiteSpace=wrap;html=1;fontFamily=Helvetica;" vertex="1" parent="1">
|
||||
<mxGeometry x="390" y="170" width="120" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontFamily=Helvetica;" edge="1" parent="1" source="TxWHqS0Z3eQh_NNlYQ_y-5" target="TxWHqS0Z3eQh_NNlYQ_y-7">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-21" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontFamily=Helvetica;" edge="1" parent="1" source="TxWHqS0Z3eQh_NNlYQ_y-5" target="TxWHqS0Z3eQh_NNlYQ_y-18">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="570" y="265" />
|
||||
<mxPoint x="570" y="590" />
|
||||
<mxPoint x="450" y="590" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-5" value="abs(f(x_n)) &gt;= eps and i &lt; max_iter" style="rhombus;whiteSpace=wrap;html=1;perimeterSpacing=0;rounded=0;shadow=0;spacing=30;fontFamily=Helvetica;" vertex="1" parent="1">
|
||||
<mxGeometry x="385" y="230" width="130" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontFamily=Helvetica;" edge="1" parent="1" source="TxWHqS0Z3eQh_NNlYQ_y-7" target="TxWHqS0Z3eQh_NNlYQ_y-9">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-7" value="x_n = (a + b) / 2" style="rounded=0;whiteSpace=wrap;html=1;fontFamily=Helvetica;" vertex="1" parent="1">
|
||||
<mxGeometry x="405" y="320" width="90" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontFamily=Helvetica;" edge="1" parent="1" source="TxWHqS0Z3eQh_NNlYQ_y-9" target="TxWHqS0Z3eQh_NNlYQ_y-11">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontFamily=Helvetica;" edge="1" parent="1" source="TxWHqS0Z3eQh_NNlYQ_y-9" target="TxWHqS0Z3eQh_NNlYQ_y-12">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-9" value="f(a) * f(x_n) &lt; 0" style="rhombus;whiteSpace=wrap;html=1;fontFamily=Helvetica;" vertex="1" parent="1">
|
||||
<mxGeometry x="402.5" y="380" width="95" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontFamily=Helvetica;" edge="1" parent="1" source="TxWHqS0Z3eQh_NNlYQ_y-11" target="TxWHqS0Z3eQh_NNlYQ_y-15">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-11" value="b = x_n" style="rounded=0;whiteSpace=wrap;html=1;fontFamily=Helvetica;" vertex="1" parent="1">
|
||||
<mxGeometry x="340" y="470" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontFamily=Helvetica;" edge="1" parent="1" source="TxWHqS0Z3eQh_NNlYQ_y-12" target="TxWHqS0Z3eQh_NNlYQ_y-15">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-12" value="a = x_n" style="rounded=0;whiteSpace=wrap;html=1;fontFamily=Helvetica;" vertex="1" parent="1">
|
||||
<mxGeometry x="500" y="470" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontFamily=Helvetica;" edge="1" parent="1" source="TxWHqS0Z3eQh_NNlYQ_y-15">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="450" y="220" as="targetPoint" />
|
||||
<Array as="points">
|
||||
<mxPoint x="330" y="555" />
|
||||
<mxPoint x="330" y="220" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-15" value="i += 1" style="rounded=0;whiteSpace=wrap;html=1;fontFamily=Helvetica;" vertex="1" parent="1">
|
||||
<mxGeometry x="420" y="540" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontFamily=Helvetica;" edge="1" parent="1" source="TxWHqS0Z3eQh_NNlYQ_y-18" target="TxWHqS0Z3eQh_NNlYQ_y-2">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="TxWHqS0Z3eQh_NNlYQ_y-18" value="return x_n" style="rounded=0;whiteSpace=wrap;html=1;fontFamily=Helvetica;" vertex="1" parent="1">
|
||||
<mxGeometry x="412.5" y="610" width="75" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="IcDKZ4LQSpk8jwLigyKe-1" value="Нет" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontFamily=Helvetica;" vertex="1" parent="1">
|
||||
<mxGeometry x="510" y="238" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="IcDKZ4LQSpk8jwLigyKe-2" value="Да" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontFamily=Helvetica;" vertex="1" parent="1">
|
||||
<mxGeometry x="450" y="288" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="IcDKZ4LQSpk8jwLigyKe-3" value="Да" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontFamily=Helvetica;" vertex="1" parent="1">
|
||||
<mxGeometry x="368" y="386" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="IcDKZ4LQSpk8jwLigyKe-4" value="Нет" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontFamily=Helvetica;" vertex="1" parent="1">
|
||||
<mxGeometry x="493" y="385" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram id="m7PvEl4LINJCrbTA7qHv" name="Chord">
|
||||
<mxGraphModel dx="989" dy="509" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="En1udxgOBDVjKzdu_g3T-2" target="En1udxgOBDVjKzdu_g3T-5">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-2" value="chord_method(f, f_dd, a, b, max_iter, eps)" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;" vertex="1" parent="1">
|
||||
<mxGeometry x="330" y="120" width="240" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-3" value="Конец" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;" vertex="1" parent="1">
|
||||
<mxGeometry x="390" y="950" width="120" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="En1udxgOBDVjKzdu_g3T-5" target="En1udxgOBDVjKzdu_g3T-8">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-5" value="x_n = (a + b) / 2<br>i = 0" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="390" y="170" width="120" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="En1udxgOBDVjKzdu_g3T-8" target="En1udxgOBDVjKzdu_g3T-10">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="En1udxgOBDVjKzdu_g3T-8" target="En1udxgOBDVjKzdu_g3T-21">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="560" y="265" />
|
||||
<mxPoint x="560" y="860" />
|
||||
<mxPoint x="450" y="860" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-8" value="abs(f(x_n)) &gt;= eps and i &lt; max_iter" style="rhombus;whiteSpace=wrap;html=1;perimeterSpacing=0;rounded=0;shadow=0;spacing=30;" vertex="1" parent="1">
|
||||
<mxGeometry x="385" y="230" width="130" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="En1udxgOBDVjKzdu_g3T-10" target="En1udxgOBDVjKzdu_g3T-13">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-10" value="X = a" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="405" y="320" width="90" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-24" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="En1udxgOBDVjKzdu_g3T-13" target="En1udxgOBDVjKzdu_g3T-23">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="En1udxgOBDVjKzdu_g3T-13" target="En1udxgOBDVjKzdu_g3T-22">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="530" y="420" />
|
||||
<mxPoint x="530" y="530" />
|
||||
<mxPoint x="450" y="530" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-13" value="f(X) * f_dd(X) &lt;= 0" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="391.25" y="390" width="117.5" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-35" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="En1udxgOBDVjKzdu_g3T-19">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="450" y="220" as="targetPoint" />
|
||||
<Array as="points">
|
||||
<mxPoint x="450" y="840" />
|
||||
<mxPoint x="340" y="840" />
|
||||
<mxPoint x="340" y="220" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-19" value="i += 1" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="420" y="790" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="En1udxgOBDVjKzdu_g3T-21" target="En1udxgOBDVjKzdu_g3T-3">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="450" y="950" />
|
||||
<mxPoint x="450" y="950" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-21" value="return x_n" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="413" y="890" width="75" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="En1udxgOBDVjKzdu_g3T-22" target="En1udxgOBDVjKzdu_g3T-27">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-31" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="En1udxgOBDVjKzdu_g3T-22" target="En1udxgOBDVjKzdu_g3T-29">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="530" y="580" />
|
||||
<mxPoint x="530" y="690" />
|
||||
<mxPoint x="450" y="690" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-22" value="f(X) * f_dd(X) &lt;= 0" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="391.25" y="555" width="117.5" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-26" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="En1udxgOBDVjKzdu_g3T-23" target="En1udxgOBDVjKzdu_g3T-22">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-23" value="X = b" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="417.5" y="480" width="65" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-37" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="En1udxgOBDVjKzdu_g3T-27" target="En1udxgOBDVjKzdu_g3T-29">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-27" value="return None" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="412.5" y="640" width="75" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-36" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="En1udxgOBDVjKzdu_g3T-29" target="En1udxgOBDVjKzdu_g3T-19">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="En1udxgOBDVjKzdu_g3T-29" value="x_n = x_n - f(x_n) * (X - x_n) / (f(X) - f(x_n))" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="390" y="720" width="120" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="-j4IdEF3rIPhRTsJx84a-1" value="Нет" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="515" y="238" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="-j4IdEF3rIPhRTsJx84a-2" value="Да" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="446" y="291" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="-j4IdEF3rIPhRTsJx84a-3" value="Да" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="446" y="448" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="-j4IdEF3rIPhRTsJx84a-4" value="Нет" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="499" y="395" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="-j4IdEF3rIPhRTsJx84a-5" value="Нет" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="497" y="552" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="-j4IdEF3rIPhRTsJx84a-6" value="Да" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="450" y="611" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram id="Ewkb1kwSzLa2aXDJ_c8E" name="Newton">
|
||||
<mxGraphModel dx="683" dy="351" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="k1ct6UH8q8BLBysB6W33-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="k1ct6UH8q8BLBysB6W33-2" target="k1ct6UH8q8BLBysB6W33-5">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="k1ct6UH8q8BLBysB6W33-2" value="newtons_method(f, f_d, a, b, max_iter, eps)" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;" vertex="1" parent="1">
|
||||
<mxGeometry x="325" y="120" width="250" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="k1ct6UH8q8BLBysB6W33-3" value="Конец" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;" vertex="1" parent="1">
|
||||
<mxGeometry x="390" y="540" width="120" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="k1ct6UH8q8BLBysB6W33-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="k1ct6UH8q8BLBysB6W33-5" target="k1ct6UH8q8BLBysB6W33-8">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="k1ct6UH8q8BLBysB6W33-5" value="x_n = a<br>i = 0" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="390" y="170" width="120" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="k1ct6UH8q8BLBysB6W33-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="k1ct6UH8q8BLBysB6W33-8" target="k1ct6UH8q8BLBysB6W33-10">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="k1ct6UH8q8BLBysB6W33-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="k1ct6UH8q8BLBysB6W33-8" target="k1ct6UH8q8BLBysB6W33-21">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="570" y="265" />
|
||||
<mxPoint x="570" y="470" />
|
||||
<mxPoint x="450" y="470" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="k1ct6UH8q8BLBysB6W33-8" value="abs(f(x_n)) &gt;= eps and i &lt; max_iter" style="rhombus;whiteSpace=wrap;html=1;perimeterSpacing=0;rounded=0;shadow=0;spacing=30;" vertex="1" parent="1">
|
||||
<mxGeometry x="385" y="230" width="130" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="XFkZYtIsXRbkd52yrBHi-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="k1ct6UH8q8BLBysB6W33-10" target="k1ct6UH8q8BLBysB6W33-19">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="k1ct6UH8q8BLBysB6W33-10" value="x_n = x_n - f(x_n) / f_d(x_n)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="405" y="320" width="90" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="k1ct6UH8q8BLBysB6W33-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" target="k1ct6UH8q8BLBysB6W33-15">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="402.5" y="410" as="sourcePoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="k1ct6UH8q8BLBysB6W33-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" target="k1ct6UH8q8BLBysB6W33-17">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="497.5" y="410" as="sourcePoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="k1ct6UH8q8BLBysB6W33-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="k1ct6UH8q8BLBysB6W33-19">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="450" y="220" as="targetPoint" />
|
||||
<Array as="points">
|
||||
<mxPoint x="450" y="450" />
|
||||
<mxPoint x="330" y="450" />
|
||||
<mxPoint x="330" y="220" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="k1ct6UH8q8BLBysB6W33-19" value="i += 1" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="420" y="400" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="k1ct6UH8q8BLBysB6W33-20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="k1ct6UH8q8BLBysB6W33-21" target="k1ct6UH8q8BLBysB6W33-3">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="k1ct6UH8q8BLBysB6W33-21" value="return x_n" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="412.5" y="490" width="75" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="3OE8DBbEHPLtUKMTXa2F-1" value="Да" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="447" y="291" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="3OE8DBbEHPLtUKMTXa2F-2" value="Нет" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="517" y="238" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram id="Rr3xRNARGJOExsobsdPE" name="Mod Newtons">
|
||||
<mxGraphModel dx="1434" dy="738" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="oYErA9m1tR8F3-8wQpgo-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="oYErA9m1tR8F3-8wQpgo-2" target="oYErA9m1tR8F3-8wQpgo-5">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oYErA9m1tR8F3-8wQpgo-2" value="modified_newtons_method(f, f_d, a, b, max_iter, eps)" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;" vertex="1" parent="1">
|
||||
<mxGeometry x="307.5" y="120" width="285" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oYErA9m1tR8F3-8wQpgo-3" value="Конец" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;" vertex="1" parent="1">
|
||||
<mxGeometry x="390" y="550" width="120" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oYErA9m1tR8F3-8wQpgo-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="oYErA9m1tR8F3-8wQpgo-5" target="oYErA9m1tR8F3-8wQpgo-8">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oYErA9m1tR8F3-8wQpgo-5" value="x_n = a<br>f_d_0 = f_d(x_n)<br>i = 0" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="390" y="170" width="120" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oYErA9m1tR8F3-8wQpgo-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="oYErA9m1tR8F3-8wQpgo-8" target="oYErA9m1tR8F3-8wQpgo-10">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oYErA9m1tR8F3-8wQpgo-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="oYErA9m1tR8F3-8wQpgo-8" target="oYErA9m1tR8F3-8wQpgo-14">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="550" y="275" />
|
||||
<mxPoint x="550" y="480" />
|
||||
<mxPoint x="450" y="480" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="oYErA9m1tR8F3-8wQpgo-8" value="abs(f(x_n)) &gt;= eps and i &lt; max_iter" style="rhombus;whiteSpace=wrap;html=1;perimeterSpacing=0;rounded=0;shadow=0;spacing=30;" vertex="1" parent="1">
|
||||
<mxGeometry x="385" y="240" width="130" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oYErA9m1tR8F3-8wQpgo-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="oYErA9m1tR8F3-8wQpgo-10" target="oYErA9m1tR8F3-8wQpgo-12">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oYErA9m1tR8F3-8wQpgo-10" value="x_n = x_n - f(x_n) / f_d_0" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="405" y="330" width="90" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oYErA9m1tR8F3-8wQpgo-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="oYErA9m1tR8F3-8wQpgo-12">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="450" y="230" as="targetPoint" />
|
||||
<Array as="points">
|
||||
<mxPoint x="450" y="460" />
|
||||
<mxPoint x="360" y="460" />
|
||||
<mxPoint x="360" y="230" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="oYErA9m1tR8F3-8wQpgo-12" value="i += 1" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="420" y="410" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oYErA9m1tR8F3-8wQpgo-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="oYErA9m1tR8F3-8wQpgo-14" target="oYErA9m1tR8F3-8wQpgo-3">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="oYErA9m1tR8F3-8wQpgo-14" value="return x_n" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="412.5" y="500" width="75" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="W8xdrJVDDaAdr1LwNb81-1" value="Да" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="445" y="303" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="W8xdrJVDDaAdr1LwNb81-2" value="Нет" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="510" y="246" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram id="51YhTPWcsMFmQt2WqvVV" name="Combined">
|
||||
<mxGraphModel dx="989" dy="509" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="zdkqlnk47-PjrHgtbhlL-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="zdkqlnk47-PjrHgtbhlL-2" target="zdkqlnk47-PjrHgtbhlL-5">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zdkqlnk47-PjrHgtbhlL-2" value="combined_method(f, f_d, a, b, max_iter, eps)" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;" vertex="1" parent="1">
|
||||
<mxGeometry x="307.5" y="120" width="285" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zdkqlnk47-PjrHgtbhlL-3" value="Конец" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;" vertex="1" parent="1">
|
||||
<mxGeometry x="390" y="550" width="120" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zdkqlnk47-PjrHgtbhlL-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="zdkqlnk47-PjrHgtbhlL-5" target="zdkqlnk47-PjrHgtbhlL-8">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zdkqlnk47-PjrHgtbhlL-5" value="<div>x_n = a</div><div><span style="background-color: initial;">y_n = b</span></div>i = 0" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="390" y="170" width="120" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zdkqlnk47-PjrHgtbhlL-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="zdkqlnk47-PjrHgtbhlL-8" target="zdkqlnk47-PjrHgtbhlL-10">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zdkqlnk47-PjrHgtbhlL-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="zdkqlnk47-PjrHgtbhlL-8" target="zdkqlnk47-PjrHgtbhlL-14">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="570" y="275" />
|
||||
<mxPoint x="570" y="480" />
|
||||
<mxPoint x="450" y="480" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="zdkqlnk47-PjrHgtbhlL-8" value="abs(x_n - y_n) &gt;= eps and i &lt; max_iter" style="rhombus;whiteSpace=wrap;html=1;perimeterSpacing=0;rounded=0;shadow=0;spacing=30;" vertex="1" parent="1">
|
||||
<mxGeometry x="377.5" y="240" width="145" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zdkqlnk47-PjrHgtbhlL-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="zdkqlnk47-PjrHgtbhlL-10" target="zdkqlnk47-PjrHgtbhlL-12">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zdkqlnk47-PjrHgtbhlL-10" value="<div>x_n = x_n - f(x_n) / f_d(x_n)</div><div>&nbsp; &nbsp; &nbsp;y_n = y_n - f(y_n) * (x_n - y_n) / (f(x_n) - f(y_n))</div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="357.5" y="330" width="185" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zdkqlnk47-PjrHgtbhlL-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="zdkqlnk47-PjrHgtbhlL-12">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="450" y="230" as="targetPoint" />
|
||||
<Array as="points">
|
||||
<mxPoint x="450" y="460" />
|
||||
<mxPoint x="330" y="460" />
|
||||
<mxPoint x="330" y="230" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="zdkqlnk47-PjrHgtbhlL-12" value="i += 1" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="420" y="410" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zdkqlnk47-PjrHgtbhlL-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="zdkqlnk47-PjrHgtbhlL-14" target="zdkqlnk47-PjrHgtbhlL-3">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zdkqlnk47-PjrHgtbhlL-14" value="return (x_n + y_n) / 2" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="391.25" y="500" width="117.5" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zc9r_NZ-D602_4hLvoX7-1" value="Да" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="447" y="302" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="zc9r_NZ-D602_4hLvoX7-2" value="Нет" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="520" y="250" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram id="zmJh-cu3u4QNUGEy1ztf" name="Iterative">
|
||||
<mxGraphModel dx="1195" dy="615" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="G-ayLxhA-LWAzPQ1L_Mv-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="G-ayLxhA-LWAzPQ1L_Mv-2" target="G-ayLxhA-LWAzPQ1L_Mv-5">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="G-ayLxhA-LWAzPQ1L_Mv-2" value="iterative_method(f, f_d, a, b, max_iter, eps)" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;" vertex="1" parent="1">
|
||||
<mxGeometry x="307.5" y="120" width="285" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="G-ayLxhA-LWAzPQ1L_Mv-3" value="Конец" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;" vertex="1" parent="1">
|
||||
<mxGeometry x="390" y="550" width="120" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="G-ayLxhA-LWAzPQ1L_Mv-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="G-ayLxhA-LWAzPQ1L_Mv-5" target="G-ayLxhA-LWAzPQ1L_Mv-8">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="G-ayLxhA-LWAzPQ1L_Mv-5" value="<div>x =&nbsp;a - f(a) / f_d(a)<br></div>i = 0" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="390" y="170" width="120" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="G-ayLxhA-LWAzPQ1L_Mv-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="G-ayLxhA-LWAzPQ1L_Mv-8" target="G-ayLxhA-LWAzPQ1L_Mv-10">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="G-ayLxhA-LWAzPQ1L_Mv-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="G-ayLxhA-LWAzPQ1L_Mv-8" target="G-ayLxhA-LWAzPQ1L_Mv-14">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="570" y="275" />
|
||||
<mxPoint x="570" y="480" />
|
||||
<mxPoint x="450" y="480" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="G-ayLxhA-LWAzPQ1L_Mv-8" value="abs(x_n - y_n) &gt;= eps and i &lt; max_iter" style="rhombus;whiteSpace=wrap;html=1;perimeterSpacing=0;rounded=0;shadow=0;spacing=30;" vertex="1" parent="1">
|
||||
<mxGeometry x="377.5" y="240" width="145" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="G-ayLxhA-LWAzPQ1L_Mv-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="G-ayLxhA-LWAzPQ1L_Mv-10" target="G-ayLxhA-LWAzPQ1L_Mv-12">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="G-ayLxhA-LWAzPQ1L_Mv-10" value="x =&nbsp;x - f(x) / f_d(x)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="357.5" y="330" width="185" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="G-ayLxhA-LWAzPQ1L_Mv-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="G-ayLxhA-LWAzPQ1L_Mv-12">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="450" y="230" as="targetPoint" />
|
||||
<Array as="points">
|
||||
<mxPoint x="450" y="460" />
|
||||
<mxPoint x="330" y="460" />
|
||||
<mxPoint x="330" y="230" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="G-ayLxhA-LWAzPQ1L_Mv-12" value="i += 1" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="420" y="410" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="G-ayLxhA-LWAzPQ1L_Mv-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="G-ayLxhA-LWAzPQ1L_Mv-14" target="G-ayLxhA-LWAzPQ1L_Mv-3">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="G-ayLxhA-LWAzPQ1L_Mv-14" value="return x" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="391.25" y="500" width="117.5" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="JN9VUWSohEjc5PBiCDA9-1" value="Да" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="445" y="302" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="JN9VUWSohEjc5PBiCDA9-2" value="Нет" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="522" y="248" width="40" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
Reference in New Issue
Block a user