﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.6839.38235"?>
<regions xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings dpi="96">
    <identity>
      <id>94350d01-88d8-4b0b-bab6-25f4d7d0db50</id>
      <revision>5</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" viewMode="2" printGrid="False" printAreas="True" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="39" right="39" top="39" bottom="39" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="0.99.6839.38235" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.6839.38235" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="SpecialFunctions" version="1.12.6839.38235" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.6839.38235" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="PlotRegion" version="1.11.6839.38235" guid="c451c2b5-798b-4f08-b9ec-b90963d1ddaa" />
    </dependencies>
  </settings>
  <region id="0" left="72" top="9" width="549" height="28" color="#000000" bgColor="#ffffff" fontSize="12">
    <text lang="rus">
      <p bold="true">Construction of a 3d circle on two points and a radius</p>
    </text>
  </region>
  <region id="1" left="90" top="45" width="117" height="36" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">X01</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" args="5">mat</e>
        <e type="function" args="1">transpose</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="2" left="81" top="99" width="426" height="110" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <description active="true" position="Top" lang="rus">
        <p>AlgLib Solver for a system of nonlinear equations</p>
      </description>
      <input>
        <e type="operand">c</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operand">x</e>
        <e type="function" args="1">f</e>
        <e type="function" args="1">rows</e>
        <e type="function" args="2">range</e>
        <e type="operand">u</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">x</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="operand">StepMax</e>
        <e type="operand">0</e>
        <e type="operator" args="2">:</e>
        <e type="operand">ε</e>
        <e type="operand">10</e>
        <e type="operand">9</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">:</e>
        <e type="operand">x</e>
        <e type="function" args="1">Jac</e>
        <e type="operand">u</e>
        <e type="function" args="1">f</e>
        <e type="operand">u</e>
        <e type="function" args="2">Jacobian</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" args="5">mat</e>
        <e type="operand">X0</e>
        <e type="operand">X01</e>
        <e type="operand">StepMax</e>
        <e type="operand">ε</e>
        <e type="operand">x</e>
        <e type="function" args="1">f</e>
        <e type="operand">x</e>
        <e type="function" args="1">Jac</e>
        <e type="function" args="5">al_nleqsolve</e>
        <e type="operator" args="2">:</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" args="5">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="3" left="81" top="234" width="61" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="spa">
      <p>Values</p>
    </text>
  </region>
  <region id="4" left="81" top="270" width="113" height="27" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">A</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="operator" args="1">-</e>
        <e type="operand">4</e>
        <e type="operator" args="1">-</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" args="5">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="5" left="207" top="270" width="97" height="27" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">B</e>
        <e type="operand">2</e>
        <e type="operand">15</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" args="5">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="6" left="333" top="270" width="54" height="24" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">r</e>
        <e type="operand">12</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="7" left="414" top="270" width="126" height="36" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">c</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operand">x</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operand">x</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" args="5">mat</e>
        <e type="operator" args="2">≡</e>
      </input>
    </math>
  </region>
  <region id="8" left="27" top="324" width="426" height="216" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">f</e>
        <e type="operand">A</e>
        <e type="function" args="1">transpose</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operand">A</e>
        <e type="function" args="1">transpose</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operand">x</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">+</e>
        <e type="operand">A</e>
        <e type="function" args="1">transpose</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operand">x</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">+</e>
        <e type="operand">r</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">-</e>
        <e type="operand">B</e>
        <e type="function" args="1">transpose</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operand">B</e>
        <e type="function" args="1">transpose</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operand">x</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">+</e>
        <e type="operand">B</e>
        <e type="function" args="1">transpose</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operand">x</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">+</e>
        <e type="operand">r</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">-</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operand">x</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operand">x</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operand">1</e>
        <e type="operand">A</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operand">A</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operand">A</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operand">1</e>
        <e type="operand">B</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operand">B</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operand">B</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operand">1</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operand">x</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operand">x</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operand">1</e>
        <e type="operand">4</e>
        <e type="operand">4</e>
        <e type="function" args="18">mat</e>
        <e type="function" args="1">det</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" args="5">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="9" left="477" top="324" width="158" height="63" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">c</e>
        <e type="function" args="1">eval</e>
      </input>
      <result action="numeric">
        <e type="operand">0.8346</e>
        <e type="operand">3.2672</e>
        <e type="operand">6.2321</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" args="5">mat</e>
      </result>
    </math>
  </region>
  <region id="10" left="477" top="441" width="233" height="63" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">γ</e>
        <e type="operand">0.8232</e>
        <e type="operator" args="1">-</e>
        <e type="operand">0.4194</e>
        <e type="operator" args="1">-</e>
        <e type="operand">0.3827</e>
        <e type="operand">0.5677</e>
        <e type="operand">0.6187</e>
        <e type="operator" args="1">-</e>
        <e type="operand">0.543</e>
        <e type="operand">0.009</e>
        <e type="operand">0.6643</e>
        <e type="operand">0.7474</e>
        <e type="operand">3</e>
        <e type="operand">3</e>
        <e type="function" args="11">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="11" left="54" top="558" width="9" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="spa">
      <p />
    </text>
  </region>
  <region id="12" left="0" top="567" width="374" height="96" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <description active="false" position="Top" lang="rus">
        <p>Spatial path</p>
      </description>
      <input>
        <e type="operand">t</e>
        <e type="function" args="1">x</e>
        <e type="operand">t</e>
        <e type="function" args="1">cos</e>
        <e type="operand">A</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operand">c</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operand">t</e>
        <e type="function" args="1">sin</e>
        <e type="operand">B</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operand">c</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="operand">c</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
        <e type="operand">t</e>
        <e type="function" args="1">y</e>
        <e type="operand">t</e>
        <e type="function" args="1">cos</e>
        <e type="operand">A</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operand">c</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operand">t</e>
        <e type="function" args="1">sin</e>
        <e type="operand">B</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operand">c</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="operand">c</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
        <e type="operand">t</e>
        <e type="function" args="1">z</e>
        <e type="operand">t</e>
        <e type="function" args="1">cos</e>
        <e type="operand">A</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operand">c</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operand">t</e>
        <e type="function" args="1">sin</e>
        <e type="operand">B</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operand">c</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="operand">c</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" args="5">sys</e>
      </input>
    </math>
  </region>
  <region id="13" left="396" top="567" width="245" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="spa">
      <p>Circle centered at c  throughA and B.</p>
    </text>
  </region>
  <region id="14" left="54" top="675" width="135" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="spa">
      <p>Range parameter</p>
    </text>
  </region>
  <region id="15" left="216" top="675" width="146" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">T</e>
        <e type="operand">0</e>
        <e type="operand">2</e>
        <e type="operand">π</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operand">0.1</e>
        <e type="function" args="3">range</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="16" left="378" top="675" width="133" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operand">T</e>
        <e type="function" args="1">rows</e>
        <e type="function" args="2">range</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="17" left="819" top="684" width="245" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="spa">
      <p>Always clear before defining matrix elments in this way.</p>
    </text>
  </region>
  <region id="18" left="54" top="720" width="94" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="spa">
      <p>Evaluationand plots</p>
    </text>
  </region>
  <region id="19" left="216" top="720" width="108" height="96" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">X</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">T</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">x</e>
        <e type="operator" args="2">:</e>
        <e type="operand">Y</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">T</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">y</e>
        <e type="operator" args="2">:</e>
        <e type="operand">Z</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">T</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">z</e>
        <e type="operator" args="2">:</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" args="5">sys</e>
      </input>
    </math>
  </region>
  <region id="20" left="342" top="720" width="228" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">C</e>
        <e type="operand">X</e>
        <e type="operand">Y</e>
        <e type="operand">Z</e>
        <e type="function" args="3">augment</e>
        <e type="operand">γ</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="21" left="819" top="738" width="262" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="spa">
      <p>Because we use vector elements inside x,y and z(t) we can't vectorize here.</p>
    </text>
  </region>
  <region id="22" left="342" top="756" width="420" height="37" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">P</e>
        <e type="operand">clr</e>
        <e type="function" args="2">Point</e>
        <e type="operand">P</e>
        <e type="operand">γ</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operand">P</e>
        <e type="operand">γ</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operand" style="string">o</e>
        <e type="operand">12</e>
        <e type="operand">clr</e>
        <e type="function" args="5">augment</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="23" left="36" top="837" width="240" height="158" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="False">
    <plot grid="false" axes="false" type="2d" render="lines" scale_x="0.721467530585144" scale_y="0.721467530585144" scale_z="0.721467530585144" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-13" transpose_y="-10" transpose_z="0">
      <input>
        <e type="operand">C</e>
        <e type="operand">1</e>
        <e type="operand">C</e>
        <e type="function" args="1">rows</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" args="5">submatrix</e>
        <e type="operand">c</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operand">c</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="operand">c</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" args="5">mat</e>
        <e type="operand" style="string">blue</e>
        <e type="function" args="2">Point</e>
        <e type="operand">A</e>
        <e type="operand" style="string">red</e>
        <e type="function" args="2">Point</e>
        <e type="operand">B</e>
        <e type="operand" style="string">green</e>
        <e type="function" args="2">Point</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" args="6">sys</e>
      </input>
    </plot>
  </region>
</regions>