﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Solver" version="1.3.0.9126"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="144">
    <identity>
      <id>3abdaf3b-77c6-4b66-901f-0d524c4a5f03</id>
      <revision>7</revision>
    </identity>
    <metadata lang="eng">
      <author>Martin Kraska</author>
    </metadata>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <mixedNumbers>false</mixedNumbers>
      <roundingMode>0</roundingMode>
      <approximateEqualAccuracy>3</approximateEqualAccuracy>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true" hideElementsHighlightings="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 Core" version="1.73.9126.0" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.73.9126.0" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="CustomFunctions" version="1.2.9372.30444" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="SpecialFunctions" version="1.73.9126.0" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.73.9126.0" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="X-Y Plot Region (JXCharts)" version="0.4.9441.40064" guid="c12231ec-4873-43c1-a7d0-a167ebd17066" />
      <assembly name="Mathcad Toolbox" version="0.6.9367.4182" guid="ddc09821-49f1-4c21-a829-6499de0a8f06" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="0" top="0" width="124" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="font-weight: bold;">Transition Curve </p>
        </content>
      </text>
    </region>
    <region left="0" top="36" width="752" height="195" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>The task is to design the transition curve for a railway track changing from curvature \[REGION[871a7486247b4ecb97eaf731ca4f34c2]]\ to a curvature \[REGION[a1d58ed0bf1e48c88ab3a0d418a17a4b]]\ with limited rate of curvature change \[REGION[53c5242a08ad42909e6886fbebce5d1d]]\ and limited rate of transitioning to that rate of change (which means limiting \[REGION[6da27aef1bfd45488a5d94fbdcdebe81]]\.Given these limits, the curve has to be as short as possible. If we hadn't the limitation of \[REGION[a8bb73a17ce04600b08da19492136749]]\, the solution would be a clothoide (curve of linear \[REGION[43c9b4d425624ffd874f4dacebc67c23]]\).</p>
          <p>Background: In curves, the outer rail is superelevated in order to align the roll angle with the resultant of centrifugal force and weight for minimum transverse forces. For a given velocity of the train,  \[REGION[7df8d564defb431eabd667f4652c40cd]]\ limits the angular velocity and  \[REGION[1f4726f449ac4c15be453d970110ba57]]\   limits the angular acceleration of this adjustment.</p>
          <p>We first generate the curvature as function of position (arc length) \[REGION[46220b73c27848e5aa8d8504fba09568]]\ and then integrate the the curve using the Runge-Kutta method.</p>
        </content>
        <regions>
          <region id="871a7486247b4ecb97eaf731ca4f34c2" left="500" top="0" width="26" height="30" color="#000000" fontSize="10">
            <math>
              <input>
                <e type="operand">κ.0</e>
              </input>
            </math>
          </region>
          <region id="a1d58ed0bf1e48c88ab3a0d418a17a4b" left="608" top="0" width="60" height="30" color="#000000" fontSize="10">
            <math>
              <input>
                <e type="operand">κ.0</e>
                <e type="operand">Δκ</e>
                <e type="operator" args="2">+</e>
              </input>
            </math>
          </region>
          <region id="53c5242a08ad42909e6886fbebce5d1d" left="150" top="23" width="28" height="24" color="#000000" fontSize="10">
            <math>
              <input>
                <e type="operand">κ'</e>
              </input>
            </math>
          </region>
          <region id="6da27aef1bfd45488a5d94fbdcdebe81" left="621" top="23" width="36" height="24" color="#000000" fontSize="10">
            <math>
              <input>
                <e type="operand">κ''</e>
              </input>
            </math>
          </region>
          <region id="a8bb73a17ce04600b08da19492136749" left="447" top="40" width="36" height="24" color="#000000" fontSize="10">
            <math>
              <input>
                <e type="operand">κ''</e>
              </input>
            </math>
          </region>
          <region id="43c9b4d425624ffd874f4dacebc67c23" left="38" top="57" width="45" height="26" color="#000000" fontSize="10">
            <math>
              <input>
                <e type="operand">s</e>
                <e type="function" args="1">κ</e>
              </input>
            </math>
          </region>
          <region id="7df8d564defb431eabd667f4652c40cd" left="424" top="106" width="28" height="24" color="#000000" fontSize="10">
            <math>
              <input>
                <e type="operand">κ'</e>
              </input>
            </math>
          </region>
          <region id="1f4726f449ac4c15be453d970110ba57" left="631" top="106" width="36" height="24" color="#000000" fontSize="10">
            <math>
              <input>
                <e type="operand">κ''</e>
              </input>
            </math>
          </region>
          <region id="46220b73c27848e5aa8d8504fba09568" left="393" top="153" width="45" height="26" color="#000000" fontSize="10">
            <math>
              <input>
                <e type="operand">s</e>
                <e type="function" args="1">κ</e>
              </input>
            </math>
          </region>
        </regions>
      </text>
    </region>
    <region left="198" top="243" width="52" height="30" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand">κ.0</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="27" top="252" width="104" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Initial curvature</p>
        </content>
      </text>
    </region>
    <region left="198" top="270" width="86" height="41" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand">Δκ</e>
          <e type="operand">1</e>
          <e type="operand">250</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="27" top="279" width="169" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Total change of curvature </p>
        </content>
      </text>
    </region>
    <region left="27" top="306" width="176" height="38" color="#000000" fontSize="10">
      <text lang="eng" width="169" fontFamily="Arial" fontSize="10">
        <content>
          <p>Maximum rate of curvature change</p>
        </content>
      </text>
    </region>
    <region left="198" top="306" width="120" height="50" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand">κ'.max</e>
          <e type="operand">10</e>
          <e type="operand">1</e>
          <e type="operand" style="unit">km</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="27" top="351" width="159" height="53" color="#000000" fontSize="10">
      <text lang="eng" width="159" fontFamily="Arial" fontSize="10">
        <content>
          <p>Maximum second derivative (spatial acceleration)</p>
        </content>
      </text>
    </region>
    <region left="198" top="351" width="136" height="50" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <input>
          <e type="operand">κ''.max</e>
          <e type="operand">100</e>
          <e type="operand">1</e>
          <e type="operand" style="unit">km</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="0" top="414" width="623" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>We apply the formulas for motion with constant acceleration to the curvature as a function of arc length.</p>
        </content>
      </text>
    </region>
    <region left="27" top="441" width="206" height="31" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Phase 1: Acceleration to \[REGION[c378a6b4d97d470f8f99bdae83a28d01]]\ </p>
        </content>
        <regions>
          <region id="c378a6b4d97d470f8f99bdae83a28d01" left="150" top="0" width="47" height="30" color="#000000" fontSize="10">
            <math>
              <input>
                <e type="operand">κ'.max</e>
              </input>
            </math>
          </region>
        </regions>
      </text>
    </region>
    <region left="234" top="450" width="154" height="53" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Δs.E</e>
          <e type="operand">κ'.max</e>
          <e type="operand">κ''.max</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">100</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region left="54" top="468" width="74" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Arc length</p>
        </content>
      </text>
    </region>
    <region left="234" top="495" width="249" height="42" color="#000000" fontSize="10">
      <math significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">Δκ.E</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operand">κ''.max</e>
          <e type="operator" args="2">*</e>
          <e type="operand">Δs.E</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
        <contract>
          <e type="operand">1</e>
          <e type="operand" style="unit">km</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">0.5000</e>
        </result>
      </math>
    </region>
    <region left="54" top="504" width="135" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Change of curvature</p>
        </content>
      </text>
    </region>
    <region left="27" top="531" width="219" height="25" color="#000000" fontSize="10">
      <text lang="eng" width="219" fontFamily="Arial" fontSize="10">
        <content>
          <p>Phase 3: Deceleration to \[REGION[e148417742e9495c8915ef577626643d]]\</p>
        </content>
        <regions>
          <region id="e148417742e9495c8915ef577626643d" left="152" top="0" width="52" height="24" color="#000000" fontSize="10">
            <math>
              <input>
                <e type="operand">κ'</e>
                <e type="operand">0</e>
                <e type="operator" args="2">≡</e>
              </input>
            </math>
          </region>
        </regions>
      </text>
    </region>
    <region left="54" top="558" width="339" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Arc length and change of curvature are the same as in </p>
        </content>
      </text>
    </region>
    <region left="27" top="585" width="276" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Phase 2: Constant rate of curvature change </p>
        </content>
      </text>
    </region>
    <region left="54" top="612" width="146" height="38" color="#000000" fontSize="10">
      <text lang="eng" width="146" fontFamily="Arial" fontSize="10">
        <content>
          <p>Remaining change of curvature </p>
        </content>
      </text>
    </region>
    <region left="234" top="612" width="174" height="41" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Δκ.L</e>
          <e type="operand">Δκ</e>
          <e type="operand">2</e>
          <e type="operand">Δκ.E</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
        </input>
        <contract>
          <e type="operand">1</e>
          <e type="operand" style="unit">km</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">3</e>
        </result>
      </math>
    </region>
    <region left="234" top="648" width="146" height="53" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Δs.L</e>
          <e type="operand">Δκ.L</e>
          <e type="operand">κ'.max</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">300</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region left="54" top="657" width="74" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Arc length</p>
        </content>
      </text>
    </region>
    <region left="27" top="702" width="87" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Total length </p>
        </content>
      </text>
    </region>
    <region left="234" top="702" width="180" height="30" border="true" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Δs</e>
          <e type="operand">2</e>
          <e type="operand">Δs.E</e>
          <e type="operator" args="2">*</e>
          <e type="operand">Δs.L</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">500</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region left="0" top="738" width="181" height="27" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Definition and plot of \[REGION[cf1405763a2040a99876ff1ce215b7a0]]\ </p>
        </content>
        <regions>
          <region id="cf1405763a2040a99876ff1ce215b7a0" left="127" top="0" width="45" height="26" color="#000000" fontSize="10">
            <math>
              <input>
                <e type="operand">s</e>
                <e type="function" args="1">κ</e>
              </input>
            </math>
          </region>
        </regions>
      </text>
    </region>
    <region left="0" top="765" width="453" height="157" color="#000000" fontSize="10">
      <math significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">s</e>
          <e type="function" args="1">κ</e>
          <e type="operand">κ.0</e>
          <e type="operand">s</e>
          <e type="operand">0</e>
          <e type="operator" args="2">&lt;</e>
          <e type="operand">κ.0</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operand">κ''.max</e>
          <e type="operator" args="2">*</e>
          <e type="operand">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operand">s</e>
          <e type="operand">0</e>
          <e type="operand">Δs.E</e>
          <e type="function" args="3">lele</e>
          <e type="operand">κ.0</e>
          <e type="operand">Δκ.E</e>
          <e type="operator" args="2">+</e>
          <e type="operand">κ'.max</e>
          <e type="operand">s</e>
          <e type="operand">Δs.E</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">s</e>
          <e type="operand">Δs.E</e>
          <e type="operand">Δs.E</e>
          <e type="operand">Δs.L</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="3">ltle</e>
          <e type="operand">κ.0</e>
          <e type="operand">Δκ</e>
          <e type="operator" args="2">+</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operand">κ''.max</e>
          <e type="operator" args="2">*</e>
          <e type="operand">s</e>
          <e type="operand">Δs</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="operator" args="2">-</e>
          <e type="operand">s</e>
          <e type="operand">Δs.E</e>
          <e type="operand">Δs.L</e>
          <e type="operator" args="2">+</e>
          <e type="operand">Δs</e>
          <e type="function" args="3">ltle</e>
          <e type="operand">κ.0</e>
          <e type="operand">Δκ</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="9">cases</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="927" width="99" height="26" color="#000000" fontSize="10">
      <math significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">0</e>
          <e type="function" args="1">κ</e>
        </input>
        <result action="numeric">
          <e type="operand">0.000</e>
        </result>
      </math>
    </region>
    <region left="18" top="954" width="146" height="32" color="#000000" fontSize="10">
      <math significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">Δs.E</e>
          <e type="function" args="1">κ</e>
        </input>
        <contract>
          <e type="operand">Δκ</e>
        </contract>
        <result action="numeric">
          <e type="operand">0.1250</e>
        </result>
      </math>
    </region>
    <region left="18" top="981" width="187" height="32" color="#000000" fontSize="10">
      <math significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">Δs.E</e>
          <e type="operand">Δs.L</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="1">κ</e>
        </input>
        <contract>
          <e type="operand">Δκ</e>
        </contract>
        <result action="numeric">
          <e type="operand">0.8750</e>
        </result>
      </math>
    </region>
    <region left="18" top="1008" width="195" height="32" color="#000000" fontSize="10">
      <math significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">2</e>
          <e type="operand">Δs.E</e>
          <e type="operator" args="2">*</e>
          <e type="operand">Δs.L</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="1">κ</e>
        </input>
        <contract>
          <e type="operand">Δκ</e>
        </contract>
        <result action="numeric">
          <e type="operand">1.000</e>
        </result>
      </math>
    </region>
    <region left="0" top="1044" width="390" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Integration. The curve starts at the origin in horizontal direction. </p>
        </content>
      </text>
    </region>
    <region left="837" top="1053" width="269" height="136" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">xaxis</e>
          <e type="operand" style="string">XYPlot'XAxis</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\xaxis\007D\\0027\DecimalPlaces</e>
          <e type="operand">3</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\xaxis\007D\\0027\Max</e>
          <e type="operand">500</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\xaxis\007D\\0027\Min</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\xaxis\007D\\0027\Tick</e>
          <e type="operand">100</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\xaxis\007D\\0027\NumberFormat</e>
          <e type="operand" style="string">General</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\xaxis\007D\\0027\Visible</e>
          <e type="operand" style="string">true</e>
          <e type="operator" args="2">:</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">line</e>
        </input>
      </math>
    </region>
    <region left="1143" top="1053" width="269" height="136" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">yaxis</e>
          <e type="operand" style="string">XYPlot'YAxis</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\yaxis\007D\\0027\DecimalPlaces</e>
          <e type="operand">3</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\yaxis\007D\\0027\Max</e>
          <e type="operand">300</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\yaxis\007D\\0027\Min</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\yaxis\007D\\0027\Tick</e>
          <e type="operand">50</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\yaxis\007D\\0027\NumberFormat</e>
          <e type="operand" style="string">General</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\yaxis\007D\\0027\Visible</e>
          <e type="operand" style="string">true</e>
          <e type="operator" args="2">:</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">line</e>
        </input>
      </math>
    </region>
    <region left="27" top="1080" width="112" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Number of steps</p>
        </content>
      </text>
    </region>
    <region left="180" top="1080" width="62" height="24" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">n</e>
          <e type="operand">100</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="27" top="1107" width="263" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Differential equations and initial conditions</p>
        </content>
      </text>
    </region>
    <region left="369" top="1125" width="302" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Location and direction at the end of the transition</p>
        </content>
      </text>
    </region>
    <region left="54" top="1134" width="267" height="113" color="#000000" bgColor="#ffffff" fontSize="10">
      <mathcadblock width="257" height="105" seqop="sys">
        <input>
          <e type="operand">D</e>
          <e type="operand">s</e>
          <e type="function" args="1">φ</e>
          <e type="operand">s</e>
          <e type="function" args="1">x</e>
          <e type="operand">s</e>
          <e type="function" args="1">y</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">sys</e>
          <e type="operand">Δs</e>
          <e type="operand" style="unit">m</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
          <e type="operand">n</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="function" args="3">rkfixed</e>
          <e type="operator" args="2">:</e>
        </input>
      </mathcadblock>
    </region>
    <region left="72" top="1152" width="105" height="26" color="#000000" fontSize="10">
      <math decimalPlaces="3">
        <input>
          <e type="operand">s</e>
          <e type="function" args="1">φ'</e>
          <e type="operand">s</e>
          <e type="function" args="1">κ</e>
          <e type="operator" args="2">≡</e>
        </input>
      </math>
    </region>
    <region left="243" top="1152" width="67" height="26" color="#000000" fontSize="10">
      <math decimalPlaces="3">
        <input>
          <e type="operand">0</e>
          <e type="function" args="1">φ</e>
          <e type="operand">0</e>
          <e type="operator" args="2">≡</e>
        </input>
      </math>
    </region>
    <region left="378" top="1152" width="148" height="31" color="#000000" fontSize="10">
      <math decimalPlaces="3" significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">φ.1</e>
          <e type="operand">Δs</e>
          <e type="function" args="1">φ</e>
          <e type="operator" args="2">:</e>
        </input>
        <contract>
          <e type="operand" style="unit">°</e>
        </contract>
        <result action="numeric">
          <e type="operand">57.3</e>
        </result>
      </math>
    </region>
    <region left="72" top="1179" width="144" height="28" color="#000000" fontSize="10">
      <math decimalPlaces="3">
        <input>
          <e type="operand">s</e>
          <e type="function" args="1">x'</e>
          <e type="operand">s</e>
          <e type="function" args="1">φ</e>
          <e type="function" args="1">cos</e>
          <e type="operator" args="2">≡</e>
        </input>
      </math>
    </region>
    <region left="243" top="1179" width="67" height="26" color="#000000" fontSize="10">
      <math decimalPlaces="3">
        <input>
          <e type="operand">0</e>
          <e type="function" args="1">x</e>
          <e type="operand">0</e>
          <e type="operator" args="2">≡</e>
        </input>
      </math>
    </region>
    <region left="378" top="1197" width="237" height="32" color="#000000" fontSize="10">
      <math decimalPlaces="3" significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">P.1</e>
          <e type="operand">Δs</e>
          <e type="function" args="1">x</e>
          <e type="operand">Δs</e>
          <e type="function" args="1">y</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">456</e>
          <e type="operand">143</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
        </result>
      </math>
    </region>
    <region left="72" top="1206" width="144" height="28" color="#000000" fontSize="10">
      <math decimalPlaces="3">
        <input>
          <e type="operand">s</e>
          <e type="function" args="1">y'</e>
          <e type="operand">s</e>
          <e type="function" args="1">φ</e>
          <e type="function" args="1">sin</e>
          <e type="operator" args="2">≡</e>
        </input>
      </math>
    </region>
    <region left="243" top="1206" width="67" height="26" color="#000000" fontSize="10">
      <math decimalPlaces="3">
        <input>
          <e type="operand">0</e>
          <e type="function" args="1">y</e>
          <e type="operand">0</e>
          <e type="operator" args="2">≡</e>
        </input>
      </math>
    </region>
    <region left="837" top="1215" width="269" height="136" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">xaxis</e>
          <e type="operand" style="string">XYPlotk'XAxis</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\xaxis\007D\\0027\DecimalPlaces</e>
          <e type="operand">3</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\xaxis\007D\\0027\Max</e>
          <e type="operand">Δs</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\xaxis\007D\\0027\Min</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\xaxis\007D\\0027\Tick</e>
          <e type="operand">100</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\xaxis\007D\\0027\NumberFormat</e>
          <e type="operand" style="string">General</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\xaxis\007D\\0027\Visible</e>
          <e type="operand" style="string">true</e>
          <e type="operator" args="2">:</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">line</e>
        </input>
      </math>
    </region>
    <region left="1143" top="1215" width="269" height="136" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">yaxis</e>
          <e type="operand" style="string">XYPlotk'YAxis</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\yaxis\007D\\0027\DecimalPlaces</e>
          <e type="operand">3</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\yaxis\007D\\0027\Max</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\yaxis\007D\\0027\Min</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\yaxis\007D\\0027\Tick</e>
          <e type="operand">0.2</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\yaxis\007D\\0027\NumberFormat</e>
          <e type="operand" style="string">General</e>
          <e type="operator" args="2">:</e>
          <e type="operand">\007B\yaxis\007D\\0027\Visible</e>
          <e type="operand" style="string">true</e>
          <e type="operator" args="2">:</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">line</e>
        </input>
      </math>
    </region>
    <region left="297" top="1251" width="168" height="68" color="#000000" fontSize="10">
      <text lang="eng" width="168" fontFamily="Arial" fontSize="10">
        <content>
          <p>We overwrite the unit locally in the integration function because it is not unit-aware.</p>
        </content>
      </text>
    </region>
    <region left="0" top="1314" width="68" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Diagram </p>
        </content>
      </text>
    </region>
    <region left="36" top="1341" width="346" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Center of tangent circle at the end of the transition curve</p>
        </content>
      </text>
    </region>
    <region left="36" top="1368" width="226" height="47" color="#000000" fontSize="10">
      <math decimalPlaces="3" significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">x.c</e>
          <e type="operand">P.1</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">1</e>
          <e type="operand">Δκ</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operand">φ.1</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>
        </input>
        <result action="numeric">
          <e type="operand">245</e>
        </result>
      </math>
    </region>
    <region left="279" top="1368" width="227" height="47" color="#000000" fontSize="10">
      <math decimalPlaces="3" significantDigitsMode="true" trailingZeros="true">
        <input>
          <e type="operand">y.c</e>
          <e type="operand">P.1</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operand">1</e>
          <e type="operand">Δκ</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operand">φ.1</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>
        </input>
        <result action="numeric">
          <e type="operand">278</e>
        </result>
      </math>
    </region>
    <region left="36" top="1413" width="304" height="207" color="#000000" bgColor="#ffffff" fontSize="10">
      <xyplot animFrameRate="20" animPlaybackMode="RepeatIndefinitely" width="294" height="199" points="100" name="XYPlot" keepAspectRatio="true">
        <chartstyle usedefault="false" backcolor="White" bordercolor="Black" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="0" xmax="500" xtick="100" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="0" ymax="300" ytick="50" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="" titlefont="Arial, 10pt" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="x" ylabel="y" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
        <traces>
          <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Blue" linethickness="1" linepattern="Solid" fillmode="Auto" filltotrace="-1" filled="false" hatched="false" fillcolor="64, 0, 0, 255" hatchstyle="Percent20" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Labels" lineantialias="true" linecolor="Blue" linethickness="1" linepattern="Solid" fillmode="Auto" filltotrace="-1" filled="false" hatched="false" fillcolor="64, 0, 0, 255" hatchstyle="Percent20" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Labels" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" fillmode="Auto" filltotrace="-1" filled="false" hatched="false" fillcolor="64, 255, 0, 0" hatchstyle="Percent20" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Red" linethickness="0.5" linepattern="Dot" fillmode="Auto" filltotrace="-1" filled="false" hatched="false" fillcolor="64, 0, 128, 0" hatchstyle="Percent20" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">D</e>
          <e type="operand">3</e>
          <e type="function" args="2">col</e>
          <e type="operand">D</e>
          <e type="operand">4</e>
          <e type="function" args="2">col</e>
          <e type="function" args="2">augment</e>
          <e type="operand">P.1</e>
          <e type="operand" style="string">o</e>
          <e type="function" args="2">augment</e>
          <e type="operand">x.c</e>
          <e type="operand">y.c</e>
          <e type="operand" style="string">+</e>
          <e type="operand" style="string">C</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="operand">5</e>
          <e type="operand">10</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="operand" style="string">red</e>
          <e type="function" args="5">augment</e>
          <e type="operand">x</e>
          <e type="operand">x.c</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">y</e>
          <e type="operand">y.c</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="bracket">(</e>
          <e type="operand">1</e>
          <e type="operand">Δκ</e>
          <e type="operand" style="unit">m</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="operator" args="2">-</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">sys</e>
        </input>
      </xyplot>
    </region>
    <region left="360" top="1413" width="298" height="210" color="#000000" bgColor="#ffffff" fontSize="10">
      <xyplot animFrameRate="20" animPlaybackMode="RepeatIndefinitely" width="288" height="202" points="100" name="XYPlotk" keepAspectRatio="false">
        <chartstyle usedefault="false" backcolor="White" bordercolor="Black" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="0" xmax="500" xtick="100" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="0" ymax="1" ytick="0.2" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="" titlefont="Arial, 10pt" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="Position (m)" ylabel="Curvature (κ-κ₀)/Δκ" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
        <traces>
          <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Blue" linethickness="1" linepattern="Solid" fillmode="Auto" filltotrace="-1" filled="false" hatched="false" fillcolor="64, 0, 0, 255" hatchstyle="Percent20" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">s</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">κ</e>
          <e type="operand">Δκ</e>
          <e type="operator" args="2">/</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">sys</e>
        </input>
      </xyplot>
    </region>
  </regions>
</worksheet>