﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.6671.38791"?>
<regions xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings dpi="96">
    <identity>
      <id>c991c745-16ff-4559-bff3-85c599c88376</id>
      <revision>2</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.6671.38791" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.6671.38791" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Special Functions" version="1.11.6671.38793" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Text Region" version="1.10.6671.38794" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Plot Region" version="1.10.6671.38794" guid="c451c2b5-798b-4f08-b9ec-b90963d1ddaa" />
    </dependencies>
  </settings>
  <region id="0" left="9" top="18" width="408" height="28" color="#800000" bgColor="#ffffff" fontSize="12">
    <text lang="eng">
      <p bold="true">The spiral curved along a given 3d curve</p>
    </text>
  </region>
  <region id="1" left="27" top="54" width="70" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">r1</e>
        <e type="operand">0.2</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="2" left="135" top="54" width="62" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">N</e>
        <e type="operand">170</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="3" left="324" top="54" width="54" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">s</e>
        <e type="operand">12</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="4" left="0" top="90" width="358" height="154" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">Δθ</e>
        <e type="operand">0.01</e>
        <e type="operator" args="2">:</e>
        <e type="operand">t</e>
        <e type="operand">1</e>
        <e type="operand">N</e>
        <e type="function" args="2">range</e>
        <e type="operand">x</e>
        <e type="operand">t</e>
        <e type="function" args="2">el</e>
        <e type="operand">3</e>
        <e type="operand">Δθ</e>
        <e type="operand">t</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">cos</e>
        <e type="operator" args="2">*</e>
        <e type="operand">10</e>
        <e type="operand">Δθ</e>
        <e type="operator" args="2">*</e>
        <e type="operand">t</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">cos</e>
        <e type="operand">Δθ</e>
        <e type="operand">t</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">cos</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
        <e type="operand">y</e>
        <e type="operand">t</e>
        <e type="function" args="2">el</e>
        <e type="operand">3</e>
        <e type="operand">Δθ</e>
        <e type="operand">t</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">sin</e>
        <e type="operator" args="2">*</e>
        <e type="operand">10</e>
        <e type="operand">Δθ</e>
        <e type="operator" args="2">*</e>
        <e type="operand">t</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">cos</e>
        <e type="operand">Δθ</e>
        <e type="operand">t</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">sin</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
        <e type="operand">z</e>
        <e type="operand">t</e>
        <e type="function" args="2">el</e>
        <e type="operand">10</e>
        <e type="operand">Δθ</e>
        <e type="operator" args="2">*</e>
        <e type="operand">t</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">sin</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="function" args="3">for</e>
        <e type="operand">B1</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="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" args="5">line</e>
      </input>
    </math>
  </region>
  <region id="5" left="9" top="252" width="209" height="67" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <description active="false" position="Right" lang="rus">
        <p>Поворот на угол α вокруг оси OX </p>
      </description>
      <input>
        <e type="operand">α</e>
        <e type="function" args="1">Ω1</e>
        <e type="operand">1</e>
        <e type="operand">0</e>
        <e type="operand">0</e>
        <e type="operand">0</e>
        <e type="operand">α</e>
        <e type="function" args="1">cos</e>
        <e type="operand">α</e>
        <e type="function" args="1">sin</e>
        <e type="operator" args="1">-</e>
        <e type="operand">0</e>
        <e type="operand">α</e>
        <e type="function" args="1">sin</e>
        <e type="operand">α</e>
        <e type="function" args="1">cos</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="6" left="225" top="252" width="209" height="67" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <description active="false" position="Right" lang="rus">
        <p>Поворот на угол φ вокруг оси OY </p>
      </description>
      <input>
        <e type="operand">φ</e>
        <e type="function" args="1">Ω2</e>
        <e type="operand">φ</e>
        <e type="function" args="1">cos</e>
        <e type="operand">0</e>
        <e type="operand">φ</e>
        <e type="function" args="1">sin</e>
        <e type="operand">0</e>
        <e type="operand">1</e>
        <e type="operand">0</e>
        <e type="operand">φ</e>
        <e type="function" args="1">sin</e>
        <e type="operator" args="1">-</e>
        <e type="operand">0</e>
        <e type="operand">φ</e>
        <e type="function" args="1">cos</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="7" left="468" top="252" width="232" 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.4187</e>
        <e type="operator" args="1">-</e>
        <e type="operand">0.543</e>
        <e type="operand">0.3</e>
        <e type="operator" args="1">-</e>
        <e type="operand">0.6643</e>
        <e type="operand">0</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="8" left="9" top="333" width="586" height="680" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operand">N</e>
        <e type="operand">1</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="function" args="2">range</e>
        <e type="operand">p1</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">B1</e>
        <e type="operand">k</e>
        <e type="function" args="2">row</e>
        <e type="function" args="1">transpose</e>
        <e type="operator" args="2">:</e>
        <e type="operand">Δp</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">B1</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operator" args="2">+</e>
        <e type="function" args="2">row</e>
        <e type="function" args="1">transpose</e>
        <e type="operand">p1</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">L</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">Δp</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operand">Δp</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</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">Δp</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">+</e>
        <e type="function" args="1">sqrt</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">k</e>
        <e type="function" args="1">naxis</e>
        <e type="operand">Δp</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">L</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">/</e>
        <e type="bracket">(</e>
        <e type="function" args="1">transpose</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">k</e>
        <e type="function" args="1">dn</e>
        <e type="operand">k</e>
        <e type="function" args="1">naxis</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operand">k</e>
        <e type="function" args="1">naxis</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">+</e>
        <e type="function" args="1">sqrt</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">k</e>
        <e type="function" args="1">αn</e>
        <e type="operand">k</e>
        <e type="function" args="1">naxis</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="operand">k</e>
        <e type="function" args="1">dn</e>
        <e type="operator" args="2">/</e>
        <e type="function" args="1">acos</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">k</e>
        <e type="function" args="1">βn</e>
        <e type="operand">k</e>
        <e type="function" args="1">dn</e>
        <e type="function" args="1">acos</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">k</e>
        <e type="function" args="1">ψ</e>
        <e type="operand">k</e>
        <e type="function" args="1">naxis</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">sign</e>
        <e type="operand">k</e>
        <e type="function" args="1">βn</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="1">-</e>
        <e type="function" args="1">Ω2</e>
        <e type="operand">k</e>
        <e type="function" args="1">naxis</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">sign</e>
        <e type="operand">k</e>
        <e type="function" args="1">αn</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">Ω1</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">8</e>
        <e type="operand">1</e>
        <e type="function" args="10">line</e>
        <e type="function" args="3">for</e>
        <e type="operand">i</e>
        <e type="operand">1</e>
        <e type="operand">s</e>
        <e type="function" args="2">range</e>
        <e type="operand">x1</e>
        <e type="operand">i</e>
        <e type="function" args="2">el</e>
        <e type="operand">r1</e>
        <e type="operand">2</e>
        <e type="operand">π</e>
        <e type="operator" args="2">*</e>
        <e type="operand">s</e>
        <e type="operator" args="2">/</e>
        <e type="operand">i</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">cos</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">y1</e>
        <e type="operand">i</e>
        <e type="function" args="2">el</e>
        <e type="operand">r1</e>
        <e type="operand">2</e>
        <e type="operand">π</e>
        <e type="operator" args="2">*</e>
        <e type="operand">s</e>
        <e type="operator" args="2">/</e>
        <e type="operand">i</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">sin</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">z1</e>
        <e type="operand">i</e>
        <e type="function" args="2">el</e>
        <e type="operand">L</e>
        <e type="function" args="1">sum</e>
        <e type="operand">N</e>
        <e type="operand">1</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operand">s</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">/</e>
        <e type="operand">i</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">eval</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="function" args="3">for</e>
        <e type="operand">n</e>
        <e type="operand">k</e>
        <e type="function" args="2">canal1</e>
        <e type="operand">x1</e>
        <e type="operand">y1</e>
        <e type="operand">z1</e>
        <e type="function" args="3">augment</e>
        <e type="operand">k</e>
        <e type="function" args="1">ψ</e>
        <e type="operator" args="2">*</e>
        <e type="operand">γ</e>
        <e type="operator" args="2">*</e>
        <e type="operand">n</e>
        <e type="function" args="2">col</e>
        <e type="operand">p1</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">transpose</e>
        <e type="operand">γ</e>
        <e type="operator" args="2">*</e>
        <e type="operand">n</e>
        <e type="function" args="2">col</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">+</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operand">N</e>
        <e type="operand">1</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="function" args="2">range</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operator" args="2">≡</e>
        <e type="operand">s1</e>
        <e type="operand">1</e>
        <e type="operand">k</e>
        <e type="function" args="2">canal1</e>
        <e type="operand">2</e>
        <e type="operand">k</e>
        <e type="function" args="2">canal1</e>
        <e type="function" args="2">augment</e>
        <e type="operator" args="2">:</e>
        <e type="operand">s1</e>
        <e type="operand">s1</e>
        <e type="operand">1</e>
        <e type="operand">k</e>
        <e type="function" args="2">canal1</e>
        <e type="operand">2</e>
        <e type="operand">k</e>
        <e type="function" args="2">canal1</e>
        <e type="function" args="2">augment</e>
        <e type="function" args="2">stack</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">if</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="function" args="3">line</e>
        <e type="function" args="3">for</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" args="6">line</e>
      </input>
    </math>
  </region>
  <region id="9" left="9" top="1062" width="147" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">τ</e>
        <e type="operand">1</e>
        <e type="operand">s1</e>
        <e type="function" args="1">rows</e>
        <e type="bracket">(</e>
        <e type="function" args="2">range</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="10" left="0" top="1107" width="326" height="366" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="False">
    <plot grid="false" axes="false" type="2d" render="lines" scale_x="10.2967753419926" scale_y="10.2967753419926" scale_z="10.2967753419926" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="36" transpose_y="61" transpose_z="0" animate="τ" frameRate="50">
      <input>
        <e type="operand">B1</e>
        <e type="operand">γ</e>
        <e type="operator" args="2">*</e>
        <e type="operand">1</e>
        <e type="function" args="2">col</e>
        <e type="operand">B1</e>
        <e type="operand">γ</e>
        <e type="operator" args="2">*</e>
        <e type="operand">2</e>
        <e type="function" args="2">col</e>
        <e type="function" args="2">augment</e>
        <e type="operand">t</e>
        <e type="operand">1</e>
        <e type="operator" args="2">≡</e>
        <e type="operand">sp</e>
        <e type="operand">s1</e>
        <e type="operand">t</e>
        <e type="function" args="2">row</e>
        <e type="operator" args="2">:</e>
        <e type="operand">sp</e>
        <e type="operand">sp</e>
        <e type="operand">s1</e>
        <e type="operand">t</e>
        <e type="function" args="2">row</e>
        <e type="function" args="2">stack</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">if</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" args="4">sys</e>
      </input>
    </plot>
  </region>
</regions>