﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.7921.69"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="120">
    <identity>
      <id>c74444bd-b18a-439d-860c-0ca0dd46e433</id>
      <revision>97</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="39" right="39" top="49" bottom="49" />
      <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.7921.69" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.7921.69" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="SpecialFunctions" version="1.12.7921.69" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.7921.69" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="AreaRegion" version="1.11.7921.69" guid="4974b228-4974-44cf-8274-bf2936b4a766" />
      <assembly name="PlotRegion" version="1.11.7921.69" guid="c451c2b5-798b-4f08-b9ec-b90963d1ddaa" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="144" top="18" width="308" height="32" color="#804040" fontSize="16" isBreakable="false">
      <text lang="rus" fontFamily="Courier New" fontSize="10">
        <content>
          <p style="font-size: 16px; font-weight: bold; color: #804040;">Offset surface creation</p>
        </content>
      </text>
    </region>
    <region top="63" color="#000000">
      <area collapsed="true">
        <title lang="eng">
          <content>
            <p>pMesh</p>
          </content>
        </title>
      </area>
      <region left="36" top="108" width="705" height="33" color="#000000" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand">f\032E\</e>
            <e type="operand">x\032E\</e>
            <e type="operand">y\032E\</e>
            <e type="function" args="3">feval</e>
            <e type="operand">f\032E\</e>
            <e type="function" args="1">num2str</e>
            <e type="operand" style="string">(</e>
            <e type="operand">x\032E\</e>
            <e type="function" args="1">num2str</e>
            <e type="operand" style="string">,</e>
            <e type="operand">y\032E\</e>
            <e type="function" args="1">num2str</e>
            <e type="operand" style="string">)</e>
            <e type="function" args="6">concat</e>
            <e type="function" args="1">str2num</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="36" top="144" width="379" height="46" color="#000000" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand">a\032E\</e>
            <e type="operand">b\032E\</e>
            <e type="operand">n\032E\</e>
            <e type="function" args="3">pRange</e>
            <e type="operand">a\032E\</e>
            <e type="operand">b\032E\</e>
            <e type="operand">a\032E\</e>
            <e type="operator" args="2">-</e>
            <e type="operand">n\032E\</e>
            <e type="operator" args="2">/</e>
            <e type="operand">0</e>
            <e type="operand">n\032E\</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="1">eval</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="36" top="189" width="590" height="349" color="#000000" fontSize="10">
        <math optimize="2">
          <description active="false" position="Top" lang="eng">
            <content>
              <p>PMesh returns a matrix suitable for 3D plots.</p>
            </content>
          </description>
          <input>
            <e type="operand">F</e>
            <e type="function" args="1">pMesh</e>
            <e type="operand">nu</e>
            <e type="operand">F</e>
            <e type="function" args="1">rows</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="operator" args="2">:</e>
            <e type="operand">nv</e>
            <e type="operand">F</e>
            <e type="function" args="1">cols</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">np</e>
            <e type="operand">5</e>
            <e type="operator" args="2">:</e>
            <e type="operand">r.np</e>
            <e type="operand">1</e>
            <e type="operand">np</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">:</e>
            <e type="operand">r.nv</e>
            <e type="operand">1</e>
            <e type="operand">nv</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="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
            <e type="operand">M</e>
            <e type="operand">0</e>
            <e type="operand">3</e>
            <e type="function" args="2">matrix</e>
            <e type="function" args="1">eval</e>
            <e type="operator" args="2">:</e>
            <e type="operand">c</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">:</e>
            <e type="operand">r</e>
            <e type="operand">0</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">u</e>
            <e type="operand">1</e>
            <e type="operand">nu</e>
            <e type="function" args="2">range</e>
            <e type="operand">v</e>
            <e type="operand">1</e>
            <e type="operand">nv</e>
            <e type="function" args="2">range</e>
            <e type="operand">r</e>
            <e type="operand">M</e>
            <e type="function" args="1">rows</e>
            <e type="operator" args="2">:</e>
            <e type="operand">k</e>
            <e type="operand">r</e>
            <e type="operand">r.np</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">M</e>
            <e type="operand">k</e>
            <e type="operand">c</e>
            <e type="function" args="3">el</e>
            <e type="operand">F</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="operand">0</e>
            <e type="operand">1</e>
            <e type="operand">5</e>
            <e type="function" args="7">mat</e>
            <e type="operand">k</e>
            <e type="operand">r</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">el</e>
            <e type="operand">u</e>
            <e type="operator" args="2">+</e>
            <e type="operand">0</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">1</e>
            <e type="operand">5</e>
            <e type="function" args="7">mat</e>
            <e type="operand">k</e>
            <e type="operand">r</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">el</e>
            <e type="operand">v</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="3">el</e>
            <e type="operand">c</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">:</e>
            <e type="operand">r</e>
            <e type="operand">r</e>
            <e type="operand">np</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">line</e>
            <e type="function" args="3">for</e>
            <e type="operand">nv</e>
            <e type="operand">1</e>
            <e type="operator" args="2">&gt;</e>
            <e type="operand">r</e>
            <e type="operand">M</e>
            <e type="function" args="1">rows</e>
            <e type="operator" args="2">:</e>
            <e type="operand">j</e>
            <e type="operand">r</e>
            <e type="operand">r.nv</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">M</e>
            <e type="operand">j</e>
            <e type="operand">c</e>
            <e type="function" args="3">el</e>
            <e type="operand">M</e>
            <e type="operand">u</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operand">np</e>
            <e type="operand">nv</e>
            <e type="operator" args="2">*</e>
            <e type="operand">nv</e>
            <e type="operator" args="2">+</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">*</e>
            <e type="operand">np</e>
            <e type="operand">v</e>
            <e type="operand">1</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">j</e>
            <e type="operand">r</e>
            <e type="operator" args="2">-</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operand">np</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">-</e>
            <e type="operand">c</e>
            <e type="function" args="3">el</e>
            <e type="operator" args="2">:</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operand">continue</e>
            <e type="function" args="3">if</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="function" args="3">for</e>
            <e type="operand">M</e>
            <e type="function" args="1">eval</e>
            <e type="operand">5</e>
            <e type="operand">1</e>
            <e type="function" args="7">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="189" top="522" width="336" height="32" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">n</e>
            <e type="operand">u</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operand">n.p</e>
            <e type="operand">n.v</e>
            <e type="operator" args="2">*</e>
            <e type="operand">n.v</e>
            <e type="operator" args="2">+</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">*</e>
            <e type="operand">n.p</e>
            <e type="operand">v</e>
            <e type="operand">1</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">k</e>
            <e type="operand">n.p</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">-</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="36" top="558" width="489" height="67" color="#000000" fontSize="10">
        <math optimize="2">
          <description active="true" position="Top" lang="eng">
            <content>
              <p>PMesh returns a matrix suitable for 3D plots.</p>
            </content>
          </description>
          <input>
            <e type="operand">f</e>
            <e type="operand">X</e>
            <e type="operand">Y</e>
            <e type="function" args="3">pMesh</e>
            <e type="operand">r</e>
            <e type="operand">1</e>
            <e type="operand">X</e>
            <e type="function" args="1">length</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">:</e>
            <e type="operand">c</e>
            <e type="operand">1</e>
            <e type="operand">Y</e>
            <e type="function" args="1">length</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">:</e>
            <e type="operand">F</e>
            <e type="operand">0</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">F</e>
            <e type="operand">r</e>
            <e type="operand">c</e>
            <e type="function" args="3">el</e>
            <e type="operand">f</e>
            <e type="operand">X</e>
            <e type="operand">r</e>
            <e type="function" args="2">el</e>
            <e type="operand">Y</e>
            <e type="operand">c</e>
            <e type="function" args="2">el</e>
            <e type="function" args="3">feval</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="1">pMesh</e>
            <e type="function" args="1">eval</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="27" top="666" width="427" height="102" color="#000000" fontSize="10">
        <math>
          <description active="true" position="Top" lang="eng">
            <content>
              <p>Generate the unitary normal vectors to F arranged in the same way that pMesh</p>
            </content>
          </description>
          <input>
            <e type="operand">F</e>
            <e type="operand">U</e>
            <e type="operand">V</e>
            <e type="function" args="3">pNo</e>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="operand">G</e>
            <e type="function" args="3">Clear</e>
            <e type="operand">Φ</e>
            <e type="operand">F</e>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="function" args="3">feval</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">g</e>
            <e type="operand">Φ</e>
            <e type="operand">u</e>
            <e type="function" args="2">diff</e>
            <e type="function" args="1">vectorize</e>
            <e type="operand">Φ</e>
            <e type="operand">v</e>
            <e type="function" args="2">diff</e>
            <e type="function" args="1">vectorize</e>
            <e type="operator" args="2">†</e>
            <e type="operator" args="2">:</e>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="function" args="2">G</e>
            <e type="operand">g</e>
            <e type="function" args="1">nznorm</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand" style="string">G</e>
            <e type="operand">U</e>
            <e type="operand">V</e>
            <e type="function" args="3">pMesh</e>
            <e type="function" args="1">eval</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 left="27" top="810" width="547" height="124" color="#000000" fontSize="10">
        <math>
          <description active="true" position="Top" lang="eng">
            <content>
              <p>Returns a mesh matrix with the mesh in M and the displaced nodes by h</p>
            </content>
          </description>
          <input>
            <e type="operand">M</e>
            <e type="operand">N</e>
            <e type="operand">h</e>
            <e type="function" args="3">pNoMesh</e>
            <e type="operand">A</e>
            <e type="operand">M</e>
            <e type="operand">M</e>
            <e type="operand">h</e>
            <e type="operand">N</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="1">vectorize</e>
            <e type="operand">M</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">r</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="operand">M</e>
            <e type="function" args="1">rows</e>
            <e type="operator" args="2">*</e>
            <e type="bracket">(</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">:</e>
            <e type="operand">c</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">:</e>
            <e type="operand">No</e>
            <e type="operand">0</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">No</e>
            <e type="operand">r</e>
            <e type="operand">c</e>
            <e type="function" args="3">el</e>
            <e type="operand">A</e>
            <e type="operand">1</e>
            <e type="operand">r</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="operand">3</e>
            <e type="function" args="2">mod</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="bracket">(</e>
            <e type="operand">1</e>
            <e type="operand">r</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="operand">3</e>
            <e type="operator" args="2">/</e>
            <e type="function" args="1">trunc</e>
            <e type="operator" args="2">+</e>
            <e type="operand">c</e>
            <e type="function" args="3">el</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="1">eval</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 left="18" top="981" width="511" height="181" color="#000000" fontSize="10">
        <math>
          <description active="true" position="Top" lang="eng">
            <content>
              <p>Returns a mesh for a solid generated by the surface F, the displacements in h and the displaced surface M' = M+h*N</p>
            </content>
          </description>
          <input>
            <e type="operand">F</e>
            <e type="operand">U</e>
            <e type="operand">V</e>
            <e type="operand">h</e>
            <e type="function" args="4">pNoSolid</e>
            <e type="operand">M</e>
            <e type="operand">F</e>
            <e type="operand">U</e>
            <e type="operand">V</e>
            <e type="function" args="3">pMesh</e>
            <e type="operator" args="2">:</e>
            <e type="operand">N</e>
            <e type="operand">F</e>
            <e type="operand">U</e>
            <e type="operand">V</e>
            <e type="function" args="3">pNo</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">h</e>
            <e type="function" args="1">IsDefined</e>
            <e type="operand">M</e>
            <e type="operand">N</e>
            <e type="operand">h</e>
            <e type="function" args="3">pNoMesh</e>
            <e type="operand">M</e>
            <e type="operand">h</e>
            <e type="operand">N</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">stack</e>
            <e type="function" args="1">eval</e>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="operand">H</e>
            <e type="function" args="3">Clear</e>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="function" args="2">H</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="2">matrix</e>
            <e type="operand">h</e>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="function" args="3">feval</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="operand">H</e>
            <e type="operand" style="string">H</e>
            <e type="operand">U</e>
            <e type="operand">V</e>
            <e type="function" args="3">pMesh</e>
            <e type="operator" args="2">:</e>
            <e type="operand">M</e>
            <e type="operand">N</e>
            <e type="operand">H</e>
            <e type="function" args="3">pNoMesh</e>
            <e type="operand">M</e>
            <e type="operand">H</e>
            <e type="operand">N</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="1">vectorize</e>
            <e type="function" args="2">stack</e>
            <e type="function" args="1">eval</e>
            <e type="operand">4</e>
            <e type="operand">1</e>
            <e type="function" args="6">line</e>
            <e type="function" args="3">if</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="18" top="1206" width="102" height="23" color="#000000" fontSize="10">
        <text lang="eng" fontFamily="Courier New" fontSize="10">
          <content>
            <p>Shorthands </p>
          </content>
        </text>
      </region>
      <region left="126" top="1215" width="78" height="24" color="#000000" fontSize="10">
        <math decimalPlaces="5" exponentialThreshold="4">
          <input>
            <e type="operand">zum</e>
            <e type="operand">1.7</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="252" top="1215" width="234" height="63" color="#000000" 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 left="504" top="1215" width="211" height="96" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">x#</e>
            <e type="function" args="1">nznorm</e>
            <e type="operand">x#</e>
            <e type="operand">x#</e>
            <e type="function" args="1">norme</e>
            <e type="operator" args="2">/</e>
            <e type="operand">x#</e>
            <e type="function" args="2">try</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="63" top="1251" width="82" height="33" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand" style="unit">0</e>
            <e type="operand">10</e>
            <e type="operand">12</e>
            <e type="operator" args="1">-</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region top="1314" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region top="1341" color="#000000">
      <area collapsed="false">
        <title lang="eng">
          <content>
            <p>Case 1</p>
          </content>
        </title>
      </area>
      <region left="18" top="1368" width="694" height="38" color="#000000" fontSize="10" isBreakable="false">
        <text lang="eng" fontFamily="Courier New" fontSize="10">
          <content>
            <p style="font-weight: bold;">Solid between a surface and its displaced a fixed distance h in the direction of the surfaces normals</p>
          </content>
        </text>
      </region>
      <region left="18" top="1422" width="247" height="69" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="function" args="2">F.1</e>
            <e type="operand">9</e>
            <e type="operand">u</e>
            <e type="function" args="1">sin</e>
            <e type="operator" args="2">*</e>
            <e type="operand">v</e>
            <e type="function" args="1">cos</e>
            <e type="operator" args="2">*</e>
            <e type="operand">4.5</e>
            <e type="operand">u</e>
            <e type="function" args="1">sin</e>
            <e type="operator" args="2">*</e>
            <e type="operand">v</e>
            <e type="function" args="1">sin</e>
            <e type="operator" args="2">*</e>
            <e type="operand">3</e>
            <e type="operand">u</e>
            <e type="function" args="1">cos</e>
            <e type="operator" args="2">*</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 left="279" top="1422" width="223" height="31" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">U.1</e>
            <e type="operand">0.5</e>
            <e type="operand">π</e>
            <e type="operator" args="2">*</e>
            <e type="operand">0</e>
            <e type="operand">16</e>
            <e type="function" args="3">pRange</e>
            <e type="operand" style="unit">0</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="567" top="1422" width="52" height="30" color="#000000" fontSize="10">
        <math decimalPlaces="5" exponentialThreshold="4">
          <input>
            <e type="operand">h.1</e>
            <e type="operand">1</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="279" top="1458" width="231" height="31" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">V.1</e>
            <e type="operand">1.5</e>
            <e type="operand">π</e>
            <e type="operator" args="2">*</e>
            <e type="operand">0.5</e>
            <e type="operand">π</e>
            <e type="operator" args="2">*</e>
            <e type="operand">16</e>
            <e type="function" args="3">pRange</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="27" top="1521" width="206" height="87" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">M.1</e>
            <e type="operand">F.1</e>
            <e type="operand">U.1</e>
            <e type="operand">V.1</e>
            <e type="function" args="3">pMesh</e>
            <e type="operator" args="2">:</e>
            <e type="operand">N.1</e>
            <e type="operand">F.1</e>
            <e type="operand">U.1</e>
            <e type="operand">V.1</e>
            <e type="function" args="3">pNo</e>
            <e type="operator" args="2">:</e>
            <e type="operand">MN.1</e>
            <e type="operand">M.1</e>
            <e type="operand">N.1</e>
            <e type="operand">h.1</e>
            <e type="function" args="3">pNoMesh</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 left="252" top="1521" width="234" height="224" color="#000000" fontSize="8">
        <plot grid="false" axes="false" type="3d" render="lines" scale_x="242077.570815596" scale_y="242077.570815596" scale_z="242077.570815596" rotate_x="-1878" rotate_y="-1542" rotate_z="-2" transpose_x="0" transpose_y="0" transpose_z="0">
          <description active="true" position="Top" lang="eng">
            <content>
              <p>The surface</p>
            </content>
          </description>
          <input>
            <e type="operand">M.1</e>
            <e type="operand">γ</e>
            <e type="operator" args="2">*</e>
            <e type="operand">1.2</e>
            <e type="operator" args="2">*</e>
          </input>
        </plot>
      </region>
      <region left="504" top="1521" width="234" height="224" color="#000000" fontSize="8">
        <plot grid="false" axes="false" type="3d" render="lines" scale_x="1210.96485963914" scale_y="1210.96485963914" scale_z="1210.96485963914" rotate_x="-1732" rotate_y="-916" rotate_z="-2" transpose_x="0" transpose_y="0" transpose_z="0">
          <description active="true" position="Top" lang="eng">
            <content>
              <p>The surface with the normals</p>
            </content>
          </description>
          <input>
            <e type="operand">MN.1</e>
            <e type="operand">γ</e>
            <e type="operator" args="2">*</e>
            <e type="operand">1.2</e>
            <e type="operator" args="2">*</e>
          </input>
        </plot>
      </region>
      <region left="18" top="1791" width="161" height="59" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">M'.1</e>
            <e type="operand">M.1</e>
            <e type="operand">h.1</e>
            <e type="operand">N.1</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="operand">A</e>
            <e type="operand">MN.1</e>
            <e type="operand">M'.1</e>
            <e type="function" args="2">stack</e>
            <e type="operator" args="2">:</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
          </input>
        </math>
      </region>
      <region left="261" top="1791" width="234" height="224" color="#000000" fontSize="8">
        <plot grid="false" axes="false" type="3d" render="lines" scale_x="861.322820878627" scale_y="861.322820878627" scale_z="861.322820878627" rotate_x="-4924" rotate_y="-2537" rotate_z="-2" transpose_x="0" transpose_y="0" transpose_z="0">
          <description active="true" position="Top" lang="eng">
            <content>
              <p>Both toghether</p>
            </content>
          </description>
          <input>
            <e type="operand">M'.1</e>
            <e type="operand">γ</e>
            <e type="operator" args="2">*</e>
            <e type="operand">1.2</e>
            <e type="operator" args="2">*</e>
            <e type="operand">MN.1</e>
            <e type="operand">γ</e>
            <e type="operator" args="2">*</e>
            <e type="operand">1.2</e>
            <e type="operator" args="2">*</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">sys</e>
          </input>
        </plot>
      </region>
      <region left="504" top="1791" width="234" height="224" color="#000000" fontSize="8">
        <plot grid="false" axes="false" type="3d" render="lines" scale_x="606.099181205345" scale_y="606.099181205345" scale_z="606.099181205345" rotate_x="-1664" rotate_y="-2443" rotate_z="-2" transpose_x="0" transpose_y="0" transpose_z="0">
          <description active="true" position="Top" lang="eng">
            <content>
              <p>The Solid as only one matrix</p>
            </content>
          </description>
          <input>
            <e type="operand">A</e>
            <e type="operand">γ</e>
            <e type="operand">1.2</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">*</e>
          </input>
        </plot>
      </region>
      <region left="18" top="2079" width="182" height="23" color="#000000" fontSize="10" isBreakable="false">
        <text lang="eng" fontFamily="Courier New" fontSize="10">
          <content>
            <p>Putting all toghether</p>
          </content>
        </text>
      </region>
      <region left="18" top="2115" width="254" height="144" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="function" args="2">F.2</e>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="operand">0.3</e>
            <e type="operand">u</e>
            <e type="function" args="1">sin</e>
            <e type="operator" args="2">*</e>
            <e type="operand">v</e>
            <e type="function" args="1">cos</e>
            <e type="operator" args="2">*</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">mat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">U.2</e>
            <e type="operand">5</e>
            <e type="operator" args="1">-</e>
            <e type="operand">5</e>
            <e type="operand">10</e>
            <e type="function" args="3">pRange</e>
            <e type="operator" args="2">:</e>
            <e type="operand">V.2</e>
            <e type="operand">5</e>
            <e type="operator" args="1">-</e>
            <e type="operand">5</e>
            <e type="operand">11</e>
            <e type="function" args="3">pRange</e>
            <e type="operator" args="2">:</e>
            <e type="operand">B</e>
            <e type="operand">F.2</e>
            <e type="operand">U.2</e>
            <e type="operand">V.2</e>
            <e type="operand">0.8</e>
            <e type="function" args="4">pNoSolid</e>
            <e type="operator" args="2">:</e>
            <e type="operand">4</e>
            <e type="operand">1</e>
            <e type="function" args="6">line</e>
          </input>
        </math>
      </region>
      <region left="378" top="2115" width="364" height="261" color="#000000" fontSize="8">
        <plot grid="false" axes="false" type="3d" render="lines" scale_x="0.229650170239597" scale_y="0.229650170239597" scale_z="0.229650170239597" rotate_x="-1199" rotate_y="812" rotate_z="-2" transpose_x="0" transpose_y="0" transpose_z="0">
          <description active="false" position="Top" lang="eng">
            <content>
              <p></p>
            </content>
          </description>
          <input>
            <e type="operand">B</e>
            <e type="operand">γ</e>
            <e type="operator" args="2">*</e>
            <e type="operand">zum</e>
            <e type="operator" args="2">*</e>
          </input>
        </plot>
      </region>
      <region top="2403" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region top="2430" color="#000000">
      <area collapsed="false">
        <title lang="eng">
          <content>
            <p>Case 2</p>
          </content>
        </title>
      </area>
      <region left="18" top="2466" width="726" height="38" color="#000000" fontSize="10" isBreakable="false">
        <text lang="eng" fontFamily="Courier New" fontSize="10">
          <content>
            <p style="font-weight: bold;">Solid between a surface and its displaced a variable distance h(u,v) in the direction of the surface normals</p>
          </content>
        </text>
      </region>
      <region left="18" top="2520" width="248" height="65" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="function" args="2">F.3</e>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="operand">0.5</e>
            <e type="operand">u</e>
            <e type="operator" args="2">*</e>
            <e type="operand">0.5</e>
            <e type="operand">v</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="1">sin</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 left="279" top="2520" width="178" height="31" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">U.3</e>
            <e type="operand">5</e>
            <e type="operator" args="1">-</e>
            <e type="operand">5</e>
            <e type="operand">10</e>
            <e type="function" args="3">pRange</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="504" top="2520" width="150" height="32" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="function" args="2">h.3</e>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="1">abs</e>
            <e type="function" args="1">sqrt</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="279" top="2556" width="178" height="31" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">V.3</e>
            <e type="operand">5</e>
            <e type="operator" args="1">-</e>
            <e type="operand">5</e>
            <e type="operand">10</e>
            <e type="function" args="3">pRange</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="396" top="2592" width="270" height="33" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="function" args="2">H.3</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="2">matrix</e>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="function" args="2">h.3</e>
            <e type="operator" args="2">+</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="27" top="2601" width="332" height="53" color="#000000" fontSize="10">
        <text lang="eng" width="332" fontFamily="Courier New" fontSize="10">
          <content>
            <p>For generating the same structure for the scalar function h.3 we use the following cheat</p>
          </content>
        </text>
      </region>
      <region left="396" top="2628" width="198" height="32" color="#000000" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand">h.3</e>
            <e type="operand" style="string">H.3</e>
            <e type="operand">U.3</e>
            <e type="operand">V.3</e>
            <e type="function" args="3">pMesh</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="18" top="2673" width="206" height="143" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">M.3</e>
            <e type="operand">F.3</e>
            <e type="operand">U.3</e>
            <e type="operand">V.3</e>
            <e type="function" args="3">pMesh</e>
            <e type="operator" args="2">:</e>
            <e type="operand">N.3</e>
            <e type="operand">F.3</e>
            <e type="operand">U.3</e>
            <e type="operand">V.3</e>
            <e type="function" args="3">pNo</e>
            <e type="operator" args="2">:</e>
            <e type="operand">MN.3</e>
            <e type="operand">M.3</e>
            <e type="operand">N.3</e>
            <e type="operand">h.3</e>
            <e type="function" args="3">pNoMesh</e>
            <e type="operator" args="2">:</e>
            <e type="operand">M'.3</e>
            <e type="operand">M.3</e>
            <e type="operand">h.3</e>
            <e type="operand">N.3</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="1">vectorize</e>
            <e type="operator" args="2">:</e>
            <e type="operand">C</e>
            <e type="operand">MN.3</e>
            <e type="operand">M'.3</e>
            <e type="function" args="2">stack</e>
            <e type="operator" args="2">:</e>
            <e type="operand">5</e>
            <e type="operand">1</e>
            <e type="function" args="7">line</e>
          </input>
        </math>
      </region>
      <region left="252" top="2673" width="234" height="224" color="#000000" fontSize="8">
        <plot grid="false" axes="false" type="3d" render="lines" scale_x="437.72190928255" scale_y="437.72190928255" scale_z="437.72190928255" rotate_x="-1183" rotate_y="-1380" rotate_z="-2" transpose_x="0" transpose_y="0" transpose_z="0">
          <description active="true" position="Top" lang="eng">
            <content>
              <p>The surface with the normals</p>
            </content>
          </description>
          <input>
            <e type="operand">MN.3</e>
            <e type="operand">γ</e>
            <e type="operator" args="2">*</e>
            <e type="operand">1.2</e>
            <e type="operator" args="2">*</e>
          </input>
        </plot>
      </region>
      <region left="504" top="2673" width="234" height="224" color="#000000" fontSize="8">
        <plot grid="false" axes="false" type="3d" render="lines" scale_x="615.615865607884" scale_y="615.615865607884" scale_z="615.615865607884" rotate_x="-2316" rotate_y="-1585" rotate_z="-2" transpose_x="0" transpose_y="0" transpose_z="0">
          <description active="true" position="Top" lang="eng">
            <content>
              <p>The Solid</p>
            </content>
          </description>
          <input>
            <e type="operand">C</e>
            <e type="operand">γ</e>
            <e type="operator" args="2">*</e>
            <e type="operand">1.2</e>
            <e type="operator" args="2">*</e>
          </input>
        </plot>
      </region>
      <region left="18" top="2925" width="182" height="23" color="#000000" fontSize="10" isBreakable="false">
        <text lang="eng" fontFamily="Courier New" fontSize="10">
          <content>
            <p>Putting all toghether</p>
          </content>
        </text>
      </region>
      <region left="18" top="2970" width="234" height="179" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="function" args="2">h.4</e>
            <e type="operand">0.5</e>
            <e type="operand">v</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">:</e>
            <e type="operand">u</e>
            <e type="operand">v</e>
            <e type="function" args="2">F.4</e>
            <e type="operand">2</e>
            <e type="operand">u</e>
            <e type="operator" args="2">*</e>
            <e type="operand">v</e>
            <e type="function" args="1">cos</e>
            <e type="operator" args="2">*</e>
            <e type="operand">1</e>
            <e type="operand">u</e>
            <e type="operator" args="2">*</e>
            <e type="operand">v</e>
            <e type="function" args="1">sin</e>
            <e type="operator" args="2">*</e>
            <e type="operand">u</e>
            <e type="operand">2</e>
            <e type="operator" args="2">^</e>
            <e type="operand">5</e>
            <e type="operator" args="2">-</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">mat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">U.4</e>
            <e type="operand">0.3</e>
            <e type="operand">3</e>
            <e type="operand">10</e>
            <e type="function" args="3">pRange</e>
            <e type="operator" args="2">:</e>
            <e type="operand">V.4</e>
            <e type="operand">1.4</e>
            <e type="operand">π</e>
            <e type="operator" args="2">*</e>
            <e type="operand">0</e>
            <e type="operand">10</e>
            <e type="function" args="3">pRange</e>
            <e type="operator" args="2">:</e>
            <e type="operand">D.1</e>
            <e type="operand">F.4</e>
            <e type="operand">U.4</e>
            <e type="operand">V.4</e>
            <e type="operand">h.4</e>
            <e type="function" args="4">pNoSolid</e>
            <e type="operator" args="2">:</e>
            <e type="operand">5</e>
            <e type="operand">1</e>
            <e type="function" args="7">line</e>
          </input>
        </math>
      </region>
      <region left="378" top="2970" width="364" height="261" color="#000000" fontSize="8">
        <plot grid="false" axes="false" type="3d" render="lines" scale_x="12.8275355468016" scale_y="12.8275355468016" scale_z="12.8275355468016" rotate_x="-3157" rotate_y="35" rotate_z="-2" transpose_x="0" transpose_y="0" transpose_z="0">
          <description active="false" position="Top" lang="eng">
            <content>
              <p></p>
            </content>
          </description>
          <input>
            <e type="operand">D.1</e>
            <e type="operand">γ</e>
            <e type="operator" args="2">*</e>
            <e type="operand">zum</e>
            <e type="operator" args="2">*</e>
          </input>
        </plot>
      </region>
      <region left="18" top="3204" width="214" height="38" color="#000000" fontSize="10">
        <text lang="eng" width="209" fontFamily="Courier New" fontSize="10">
          <content>
            <p>Compare it with the "not distorted" solid</p>
          </content>
        </text>
      </region>
      <region left="18" top="3267" width="219" height="32" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">D.2</e>
            <e type="operand">F.4</e>
            <e type="operand">U.4</e>
            <e type="operand">V.4</e>
            <e type="operand">1</e>
            <e type="function" args="4">pNoSolid</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="378" top="3267" width="364" height="261" color="#000000" fontSize="8">
        <plot grid="false" axes="false" type="3d" render="lines" scale_x="12.8275355468016" scale_y="12.8275355468016" scale_z="12.8275355468016" rotate_x="-3021" rotate_y="-45" rotate_z="-2" transpose_x="0" transpose_y="0" transpose_z="0">
          <description active="false" position="Top" lang="eng">
            <content>
              <p></p>
            </content>
          </description>
          <input>
            <e type="operand">D.2</e>
            <e type="operand">γ</e>
            <e type="operator" args="2">*</e>
            <e type="operand">zum</e>
            <e type="operator" args="2">*</e>
          </input>
        </plot>
      </region>
      <region top="3555" color="#000000">
        <area terminator="true" />
      </region>
    </region>
  </regions>
</worksheet>