﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="1.2.9018.0"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>3ff9934e-0071-4049-99d1-c9dc1e9d79f9</id>
      <revision>345</revision>
    </identity>
    <metadata lang="eng">
      <author>Alvaro Diaz Falconi</author>
    </metadata>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <mixedNumbers>false</mixedNumbers>
      <roundingMode>0</roundingMode>
      <approximateEqualAccuracy>0</approximateEqualAccuracy>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true" hideElementsHighlightings="false">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="39" right="39" top="49" bottom="49" />
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="1.2.9018.0" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.9018.0" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="SpecialFunctions" version="1.12.9018.0" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.9018.0" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="AreaRegion" version="1.11.9018.0" guid="4974b228-4974-44cf-8274-bf2936b4a766" />
      <assembly name="X-Y Plot Region (JXCharts)" version="0.3.9106.25707" guid="c12231ec-4873-43c1-a7d0-a167ebd17066" />
    </dependencies>
  </settings>
  <regions type="content">
    <region top="36" color="#000000">
      <area collapsed="false">
        <title lang="eng">
          <content>
            <p>Spherical lens aberration</p>
          </content>
        </title>
      </area>
      <region left="18" top="72" width="131" height="24" color="#000000" fontSize="10">
        <text lang="eng" fontFamily="Consolas" fontSize="10">
          <content>
            <p>Refraction index</p>
          </content>
        </text>
      </region>
      <region left="198" top="72" width="62" height="24" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">n</e>
            <e type="operand">1.5</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="378" top="72" width="271" height="76" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">Plot</e>
            <e type="operand">x</e>
            <e type="operand">2</e>
            <e type="operator" args="2">^</e>
            <e type="operand">y</e>
            <e type="operand">2</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">+</e>
            <e type="operand">r</e>
            <e type="operand">2</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operand">x</e>
            <e type="operand">0.75</e>
            <e type="operand">r</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">&gt;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">*</e>
            <e type="operand">R</e>
            <e type="function" args="1">eval</e>
            <e type="operand">x</e>
            <e type="operand">0</e>
            <e type="operand">y</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">d</e>
            <e type="operator" args="2">-</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">sys</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="18" top="99" width="95" height="24" color="#000000" fontSize="10">
        <text lang="eng" fontFamily="Consolas" fontSize="10">
          <content>
            <p>Lens radius</p>
          </content>
        </text>
      </region>
      <region left="198" top="99" width="54" height="24" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">r</e>
            <e type="operand">20</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="18" top="126" width="124" height="24" color="#000000" fontSize="10">
        <text lang="eng" width="43" fontFamily="Consolas" fontSize="10">
          <content>
            <p>Screen position</p>
          </content>
        </text>
      </region>
      <region left="198" top="126" width="54" height="24" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">d</e>
            <e type="operand">60</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="18" top="162" width="172" height="40" color="#000000" fontSize="10" isBreakable="false">
        <text lang="eng" width="172" fontFamily="Consolas" fontSize="10">
          <content>
            <p>Refraction incident and exit angles</p>
          </content>
        </text>
      </region>
      <region left="198" top="162" width="143" height="55" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">θ.i</e>
            <e type="operand">σ</e>
            <e type="operand">y.1</e>
            <e type="operator" args="2">*</e>
            <e type="operand">x.1</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="1">-</e>
            <e type="function" args="1">atan</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="378" top="162" width="166" height="34" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">θ.e</e>
            <e type="operand">n</e>
            <e type="operand">θ.i</e>
            <e type="function" args="1">sin</e>
            <e type="operator" args="2">*</e>
            <e type="function" args="1">asin</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="18" top="225" width="117" height="24" color="#000000" fontSize="10">
        <text lang="eng" fontFamily="Consolas" fontSize="10">
          <content>
            <p>Refracted beam</p>
          </content>
        </text>
      </region>
      <region left="198" top="225" width="412" height="32" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">x</e>
            <e type="operand">y</e>
            <e type="function" args="2">λ</e>
            <e type="operand">θ.e</e>
            <e type="operand">θ.i</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="1">tan</e>
            <e type="operand">x</e>
            <e type="operator" args="2">*</e>
            <e type="operand">σ</e>
            <e type="operand">y</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">-</e>
            <e type="operand">x.1</e>
            <e type="operand">θ.e</e>
            <e type="operand">θ.i</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="1">tan</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">-</e>
            <e type="operand">σ</e>
            <e type="operand">y.1</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="18" top="270" width="43" height="24" color="#000000" fontSize="10">
        <text lang="eng" fontFamily="Consolas" fontSize="10">
          <content>
            <p>Rays</p>
          </content>
        </text>
      </region>
      <region left="99" top="270" width="46" height="24" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">k</e>
            <e type="operand">0</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="198" top="270" width="81" height="30" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">x.0</e>
            <e type="operand">100</e>
            <e type="operator" args="1">-</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="288" top="270" width="65" height="24" color="#000000" fontSize="10">
        <text lang="eng" fontFamily="Consolas" fontSize="10">
          <content>
            <p>from -∞</p>
          </content>
        </text>
      </region>
      <region left="18" top="306" width="263" height="224" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">y.0</e>
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="operand">1</e>
            <e type="operand">0.9</e>
            <e type="operator" args="1">-</e>
            <e type="function" args="3">range</e>
            <e type="operand">0.5</e>
            <e type="operator" args="2">*</e>
            <e type="operand">r</e>
            <e type="operator" args="2">*</e>
            <e type="operand">σ</e>
            <e type="operand">y.0</e>
            <e type="function" args="1">sign</e>
            <e type="function" args="1">eval</e>
            <e type="operator" args="2">:</e>
            <e type="operand">x.1</e>
            <e type="operand">y.1</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">r</e>
            <e type="operand">2</e>
            <e type="operator" args="2">^</e>
            <e type="operand">y.0</e>
            <e type="operand">2</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="1">sqrt</e>
            <e type="operand">y.0</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">x.2</e>
            <e type="operand">y.2</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">mat</e>
            <e type="operand">x</e>
            <e type="operand">y</e>
            <e type="function" args="2">λ</e>
            <e type="operand">x</e>
            <e type="operand">0</e>
            <e type="operand">y</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">d</e>
            <e type="operator" args="2">-</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">mat</e>
            <e type="operand">x</e>
            <e type="operand">y</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">mat</e>
            <e type="function" args="2">roots</e>
            <e type="operator" args="2">:</e>
            <e type="operand">R</e>
            <e type="operand">k</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="2">el</e>
            <e type="operand">x.0</e>
            <e type="operand">y.0</e>
            <e type="operand">x.1</e>
            <e type="operand">y.1</e>
            <e type="operand">x.2</e>
            <e type="operand">y.2</e>
            <e type="operand">3</e>
            <e type="operand">2</e>
            <e type="function" args="8">mat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">4</e>
            <e type="operand">1</e>
            <e type="function" args="6">line</e>
            <e type="function" args="3">for</e>
          </input>
        </math>
      </region>
      <region left="279" top="306" width="470" height="284" color="#000000" bgColor="#ffffff" fontSize="8" showInputData="false">
        <xyplot width="460" height="276" points="200" name="XYPlot2">
          <chartstyle usedefault="false" backcolor="White" bordercolor="Black" />
          <grid gridcolor="Transparent" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
          <xaxes xmin="7.602377" xmax="61.47124" xtick="10" visible="True" decimalplaces="3" numberformat="General" />
          <yaxes ymin="-17.22254" ymax="16.19606" ytick="10" 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="" ylabel="" 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" filled="true" 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="Lines" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" 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="Black" linethickness="2" linepattern="Solid" 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">Plot</e>
          </input>
        </xyplot>
      </region>
      <region top="603" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="18" top="639" width="60" height="24" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Alvaro</e>
        </input>
      </math>
    </region>
    <region left="135" top="639" width="225" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">4</e>
          <e type="function" args="1">appVersion</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">1.2.9018.0</e>
        </result>
      </math>
    </region>
  </regions>
</worksheet>