﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.7610.506"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="120">
    <identity>
      <id>f3f3f3b9-5d51-48b6-b526-5a8f35705771</id>
      <revision>28</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" viewMode="2" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="39" right="39" top="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.7610.506" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.7610.506" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Custom Functions" version="1.1.7486.2690" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="SpecialFunctions" version="1.12.7610.506" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.7610.506" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Writer Region" version="0.22.7630.35574" guid="5922d677-323f-4327-8c68-be902d8339ad" />
      <assembly name="X-Y Plot Region (JXCharts)" version="0.2.7630.25147" guid="c12231ec-4873-43c1-a7d0-a167ebd17066" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="36" top="18" width="312" height="88" color="#000000" bgColor="#ff80ff" fontSize="10">
      <math optimize="2" decimalPlaces="3">
        <description active="true" position="Top" lang="eng" width="368">
          <p>Vectorize is now an option and works well :)
This causes several issues below that I do not understand :(</p>
        </description>
        <input>
          <e type="operand">#L.pvec</e>
          <e type="function" args="1">ΣL.p</e>
          <e type="operand">10</e>
          <e type="operand">10</e>
          <e type="operand">#L.pvec</e>
          <e type="operand" style="unit">dB</e>
          <e type="operator" args="2">/</e>
          <e type="operand">10</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">^</e>
          <e type="function" args="1">vectorize</e>
          <e type="function" args="1">sum</e>
          <e type="operand">10</e>
          <e type="function" args="2">log</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">dB</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="171" width="177" height="60" color="#000000" fontSize="10">
      <math decimalPlaces="3">
        <description active="true" position="Top" lang="eng">
          <p>dB Pressure will convert to power
reference to 20 micro-Pa</p>
        </description>
        <input>
          <e type="operand">L.P</e>
          <e type="operand">10</e>
          <e type="operand">p</e>
          <e type="operand">p.ref</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">10</e>
          <e type="function" args="2">log</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">≡</e>
        </input>
      </math>
    </region>
    <region left="36" top="279" width="395" height="51" color="#000000" bgColor="#ff80ff" fontSize="10">
      <math optimize="2" decimalPlaces="2">
        <description active="true" position="Top" lang="eng" width="406">
          <p>Fix #1: variable in lieu of function within a function</p>
        </description>
        <input>
          <e type="operand">#ΣL.p</e>
          <e type="operand">#dist.ref</e>
          <e type="function" args="2">L.W</e>
          <e type="operand">#ΣL.p</e>
          <e type="operand" style="unit">dB</e>
          <e type="operator" args="2">/</e>
          <e type="operand">20</e>
          <e type="operand">#dist.ref</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">/</e>
          <e type="operand">10</e>
          <e type="function" args="2">log</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operand" style="unit">dB</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="396" width="426" height="62" color="#000000" bgColor="#ff80ff" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng" width="743">
          <p>Fix #1: variable in lieu of function within a function
Sound Power does not change wrt distance. We then use it to back calculate the sound pressures wrt distance from source(s).
Sound Pressure Function re: 20 mPa</p>
        </description>
        <input>
          <e type="operand">#dist</e>
          <e type="operand">#b</e>
          <e type="operand">#L.W</e>
          <e type="function" args="3">L.p</e>
          <e type="operand">#L.W</e>
          <e type="operand" style="unit">dB</e>
          <e type="operator" args="2">/</e>
          <e type="operand">10</e>
          <e type="operand">#b</e>
          <e type="operand">4</e>
          <e type="operand">π</e>
          <e type="operator" args="2">*</e>
          <e type="operand">#dist</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">10</e>
          <e type="function" args="2">log</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">vectorize</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operand" style="unit">dB</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="558" width="415" height="74" color="#000000" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <p>Function to add value at end of vector</p>
        </description>
        <input>
          <e type="operand">#last</e>
          <e type="operand">#vector</e>
          <e type="function" args="2">Vector.add2end</e>
          <e type="operand">n</e>
          <e type="operand">#vector</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">#vector</e>
          <e type="operand">n</e>
          <e type="operand">1</e>
          <e type="function" args="3">el</e>
          <e type="operand">#last</e>
          <e type="operator" args="2">:</e>
          <e type="operand">#vector</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="0" top="684" width="749" height="29" color="#000000">
      <writer lang="eng" wrap="Page" width="735"><![CDATA[<span style="font-family: 'Microsoft Sans Serif'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-size: 12pt"><span style="color: #993300">Given</span></span></div></span>]]></writer>
    </region>
    <region left="9" top="720" width="121" height="45" color="#000000" bgColor="#ffff80" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>Sound pressure level as measured by vendor
Note input is a vector for mult equip.
See Assumptions</p>
        </description>
        <input>
          <e type="operand">L.pvend</e>
          <e type="operand">75</e>
          <e type="operand">77</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="operand" style="unit">dB</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="342" top="720" width="124" height="30" color="#000000" bgColor="#ffff80" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>Distance as measured by vendor
Use meters!</p>
        </description>
        <input>
          <e type="operand">dist.vend</e>
          <e type="operand">1.5</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="585" top="720" width="114" height="30" color="#000000" bgColor="#ffff80" fontSize="10">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>Project Specified dB</p>
        </description>
        <input>
          <e type="operand">dB.final</e>
          <e type="operand">55</e>
          <e type="operand" style="unit">dB</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="0" top="846" width="749" height="29" color="#000000">
      <writer lang="eng" wrap="Page" width="735"><![CDATA[<span style="font-family: 'Microsoft Sans Serif'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-size: 12pt"><span style="color: #993300">Assumptions</span></span></div></span>]]></writer>
    </region>
    <region left="0" top="882" width="749" height="44" color="#000000">
      <writer lang="eng" wrap="Page" width="735"><![CDATA[<span style="font-family: 'Microsoft Sans Serif'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div>The sound given by the vendor is assumed to be in dB(A)  This needs to be confirmed by the engineer as the values are not transferable</div></span>]]></writer>
    </region>
    <region left="0" top="936" width="71" height="30" color="#000000" bgColor="#ffff80" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <p>Assumed Geometry directivity factor</p>
        </description>
        <input>
          <e type="operand">b.vend</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="369" top="936" width="111" height="26" color="#000000" bgColor="#ffff80" fontSize="10">
      <math evaluate="false" decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <p>Range to do the analysis.
This is in meters!</p>
        </description>
        <input>
          <e type="operand">x</e>
          <e type="operand">1</e>
          <e type="operand">100</e>
          <e type="function" args="2">range</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="1080" width="112" height="27" color="#000000" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true">Set values</p>
      </text>
    </region>
    <region left="0" top="1116" width="121" height="30" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">L.W</e>
          <e type="operand">85.1306</e>
          <e type="operand" style="unit">dB</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="135" top="1116" width="102" height="47" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">L.W</e>
          <e type="operand" style="unit">dB</e>
          <e type="operator" args="2">/</e>
        </input>
        <result action="numeric">
          <e type="operand">85.1306</e>
        </result>
      </math>
    </region>
    <region left="279" top="1116" width="150" height="26" border="true" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="operand">0.0001</e>
          <e type="operand">50</e>
          <e type="operand">1</e>
          <e type="function" args="3">range</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="468" top="1116" width="61" height="63" border="true" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">b</e>
          <e type="operand">2</e>
          <e type="operand">4</e>
          <e type="operand">8</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="9" top="1179" width="275" height="80" border="true" color="#000000" fontSize="10">
      <math>
        <description active="true" position="Right" lang="eng">
          <p fontName="Arial">The equation</p>
        </description>
        <input>
          <e type="operand">x</e>
          <e type="operand">b</e>
          <e type="function" args="2">f</e>
          <e type="operand">L.W</e>
          <e type="operand" style="unit">dB</e>
          <e type="operator" args="2">/</e>
          <e type="operand">10</e>
          <e type="operand">b</e>
          <e type="operand">count</e>
          <e type="function" args="2">el</e>
          <e type="operand">4</e>
          <e type="operand">π</e>
          <e type="operator" args="2">*</e>
          <e type="operand">x</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="function" args="1">log10</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="1260" width="728" height="50" color="#000000" bgColor="#ffff80" fontSize="12">
      <text lang="eng" width="723">
        <p fontName="Calibri">Sound is "cleaner" to calculate in metric (no coefficient for unit conversions, etc.) To adjust for distance in the function, change the denominator "unit" to distance required ... ft, km, miles, m, etc.</p>
      </text>
    </region>
    <region left="585" top="1287" width="133" height="49" color="#000000" bgColor="#ffff80" fontSize="12">
      <math>
        <input>
          <e type="operand">f.conv</e>
          <e type="operand" style="unit">m</e>
          <e type="function" args="1">UoM</e>
          <e type="operand" style="unit">ft</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="1350" width="527" height="156" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="operand">b</e>
          <e type="function" args="2">f</e>
          <e type="operand">count</e>
          <e type="operand">1</e>
          <e type="operand">b</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">:</e>
          <e type="operand">B</e>
          <e type="operand">count</e>
          <e type="function" args="2">el</e>
          <e type="operand">b</e>
          <e type="operand">count</e>
          <e type="function" args="2">el</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="operand">π</e>
          <e type="operator" args="2">*</e>
          <e type="operand">x</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="function" args="1">vectorize</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">C</e>
          <e type="operand">count</e>
          <e type="function" args="2">el</e>
          <e type="operand">85.1306</e>
          <e type="operand">10</e>
          <e type="operand">B</e>
          <e type="function" args="1">mat2sys</e>
          <e type="function" args="1">log10</e>
          <e type="function" args="1">vectorize</e>
          <e type="operator" args="2">*</e>
          <e type="bracket">(</e>
          <e type="operand">count</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">sys2mat</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand">L</e>
          <e type="operand">count</e>
          <e type="function" args="2">el</e>
          <e type="operand">x</e>
          <e type="operand">f.conv</e>
          <e type="operator" args="2">*</e>
          <e type="operand">C</e>
          <e type="operand">count</e>
          <e type="function" args="2">el</e>
          <e type="function" args="2">augment</e>
          <e type="operator" args="2">:</e>
          <e type="operand">L</e>
          <e type="function" args="1">mat2sys.1</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="288" top="1458" width="48" height="27" color="#000000" bgColor="#ffff80" fontSize="12">
      <math>
        <input>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="operator" args="2">&lt;</e>
        </input>
      </math>
    </region>
    <region left="9" top="1521" width="565" height="128" border="true" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">P</e>
          <e type="operand">count</e>
          <e type="operand">1</e>
          <e type="operand">b</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">:</e>
          <e type="operand">L.p</e>
          <e type="operand">count</e>
          <e type="function" args="2">el</e>
          <e type="operand">x</e>
          <e type="operand">b</e>
          <e type="operand">count</e>
          <e type="function" args="2">el</e>
          <e type="operand">85.131</e>
          <e type="operand" style="unit">dB</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="3">L.p</e>
          <e type="operand" style="unit">dB</e>
          <e type="operator" args="2">/</e>
          <e type="operand">dB.final</e>
          <e type="operand" style="unit">dB</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">x</e>
          <e type="operand">1</e>
          <e type="operand">100</e>
          <e type="function" args="4">solve</e>
          <e type="operand">f.conv</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">L.p</e>
          <e type="operand">b</e>
          <e type="function" args="1">rows</e>
          <e type="operand">1</e>
          <e type="function" args="2">matrix</e>
          <e type="operand">dB.final</e>
          <e type="operand" style="unit">dB</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">augment</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="576" top="1557" width="48" height="27" color="#000000" bgColor="#ffff80" fontSize="12">
      <math>
        <input>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="operator" args="2">&lt;</e>
        </input>
      </math>
    </region>
    <region left="585" top="1566" width="151" height="74" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">P</e>
        </input>
        <result action="numeric">
          <e type="operand">42.0189</e>
          <e type="operand">55</e>
          <e type="operand">59.4238</e>
          <e type="operand">55</e>
          <e type="operand">84.0379</e>
          <e type="operand">55</e>
          <e type="operand">3</e>
          <e type="operand">2</e>
          <e type="function" args="8">mat</e>
        </result>
      </math>
    </region>
    <region left="9" top="1674" width="680" height="336" color="#000000" fontSize="10">
      <xyplot width="670" height="328" points="100" name="XYPlot">
        <chartstyle backcolor="White" bordercolor="Black" />
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Solid" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="21.83334" xmax="84.96107" xtick="10" visible="True" decimalplaces="0" numberformat="General" />
        <yaxes ymin="22.48618" ymax="87.23271" ytick="20" visible="True" decimalplaces="0" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="dB Free Field Decay wrt Directivity" titlefont="Arial, 15.75pt, style=Bold" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 9.75pt, style=Bold" labelfontcolor="Black" tickfont="Courier New, 10pt" tickfontcolor="Black" xlabel="Distance (per user!)" ylabel="dB Pressure (Lp)" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="true" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="SouthWest" textcolor="Black" />
        <traces>
          <trace seriesname="1/2 Sphere (b=2)" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Blue" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="1/4 Sphere (b=4)" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="1/8 Sphere (b=8)" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Green" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Fuchsia" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="Star" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <description active="false" position="Top" lang="eng">
          <p></p>
        </description>
        <input>
          <e type="operand">x</e>
          <e type="operand">b</e>
          <e type="function" args="2">f</e>
          <e type="operand">P</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
        </input>
      </xyplot>
    </region>
  </regions>
</worksheet>