AiSD | Ćwiczenie 3,4 aktualizacja

This commit is contained in:
alatar 2024-02-10 14:44:24 +01:00
parent 689cbe540d
commit bf58ea21aa
3 changed files with 74 additions and 0 deletions

View File

@ -0,0 +1,74 @@
<mxfile host="Electron" modified="2024-01-28T17:28:49.595Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/22.1.11 Chrome/114.0.5735.289 Electron/25.9.8 Safari/537.36" etag="m8v0wOd3Qr_QCjWQr2zJ" version="22.1.11" type="device">
<diagram name="Strona-1" id="8sdFJeBoKNmW02Q8DoQf">
<mxGraphModel dx="792" dy="1187" 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="Bhcylq6nGzpWtDwI5Y-f-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="Bhcylq6nGzpWtDwI5Y-f-2" target="Bhcylq6nGzpWtDwI5Y-f-3">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-2" value="Start" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="1">
<mxGeometry x="290" y="60" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="Bhcylq6nGzpWtDwI5Y-f-3" target="Bhcylq6nGzpWtDwI5Y-f-9">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-3" value="pobierz &lt;br&gt;podstawa" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;" vertex="1" parent="1">
<mxGeometry x="270" y="190" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="Bhcylq6nGzpWtDwI5Y-f-4" target="Bhcylq6nGzpWtDwI5Y-f-5">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-4" value="wynik = 1" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="270" y="380" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="Bhcylq6nGzpWtDwI5Y-f-5" target="Bhcylq6nGzpWtDwI5Y-f-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-20" value="NIE" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="Bhcylq6nGzpWtDwI5Y-f-12">
<mxGeometry x="-0.2667" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-5" value="czy&lt;br&gt;wykladnik = 0&amp;nbsp;" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="270" y="505" width="120" height="105" as="geometry" />
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-6" value="Wypisz&lt;br&gt;wynik" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.terminator;whiteSpace=wrap;" vertex="1" parent="1">
<mxGeometry x="480" y="830" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="Bhcylq6nGzpWtDwI5Y-f-7" target="Bhcylq6nGzpWtDwI5Y-f-8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-7" value="wynik = wynik * podstawa" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="270" y="670" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="Bhcylq6nGzpWtDwI5Y-f-8">
<mxGeometry relative="1" as="geometry">
<mxPoint x="330" y="470" as="targetPoint" />
<Array as="points">
<mxPoint x="181" y="790" />
<mxPoint x="181" y="470" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-8" value="wykladnik = wykladnik -1" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="250" y="760" width="160" height="60" as="geometry" />
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-9" value="pobierz&lt;br&gt;wykladnik" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;" vertex="1" parent="1">
<mxGeometry x="270" y="280" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="Bhcylq6nGzpWtDwI5Y-f-5" target="Bhcylq6nGzpWtDwI5Y-f-6">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-21" value="TAK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="Bhcylq6nGzpWtDwI5Y-f-11">
<mxGeometry x="-0.7964" y="2" relative="1" as="geometry">
<mxPoint y="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Bhcylq6nGzpWtDwI5Y-f-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.558;entryY=-0.017;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="Bhcylq6nGzpWtDwI5Y-f-9" target="Bhcylq6nGzpWtDwI5Y-f-4">
<mxGeometry relative="1" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

Binary file not shown.

Binary file not shown.