Add lab session 4
Handed in on 10 Nov 2020.
Change-Id: Iac2b326e564a415d56c927b1900856d55fd6b9ed
diff --git a/p4/data/mesura3.dat b/p4/data/mesura3.dat
new file mode 100644
index 0000000..ae33d45
--- /dev/null
+++ b/p4/data/mesura3.dat
@@ -0,0 +1,805 @@
+-0.01 2.613E+00
+0.99 2.610E+00
+1.99 2.608E+00
+2.99 2.605E+00
+3.99 2.603E+00
+4.99 2.600E+00
+5.99 2.598E+00
+6.99 2.595E+00
+7.99 2.593E+00
+8.99 2.590E+00
+9.99 2.588E+00
+10.99 2.585E+00
+11.99 2.582E+00
+12.99 2.580E+00
+13.99 2.577E+00
+14.99 2.575E+00
+15.99 2.572E+00
+16.99 2.570E+00
+17.99 2.567E+00
+18.99 2.564E+00
+19.99 2.561E+00
+20.99 2.559E+00
+21.99 2.556E+00
+22.99 2.554E+00
+23.99 2.551E+00
+24.99 2.548E+00
+25.99 2.545E+00
+26.99 2.543E+00
+27.99 2.540E+00
+28.99 2.537E+00
+29.99 2.534E+00
+30.99 2.531E+00
+31.99 2.528E+00
+32.99 2.526E+00
+33.99 2.523E+00
+34.99 2.520E+00
+35.99 2.517E+00
+36.99 2.514E+00
+37.99 2.511E+00
+38.99 2.508E+00
+39.99 2.505E+00
+40.99 2.502E+00
+41.99 2.499E+00
+42.99 2.496E+00
+43.99 2.493E+00
+44.99 2.490E+00
+45.99 2.486E+00
+46.99 2.483E+00
+47.99 2.480E+00
+48.99 2.477E+00
+49.99 2.474E+00
+50.99 2.470E+00
+51.99 2.467E+00
+52.99 2.464E+00
+53.99 2.460E+00
+54.99 2.457E+00
+55.99 2.454E+00
+56.99 2.450E+00
+57.99 2.447E+00
+58.99 2.444E+00
+59.99 2.440E+00
+60.99 2.437E+00
+61.99 2.433E+00
+62.99 2.430E+00
+63.99 2.426E+00
+64.99 2.423E+00
+65.99 2.436E+00
+66.99 2.466E+00
+67.99 2.508E+00
+68.99 2.558E+00
+69.99 2.612E+00
+70.99 2.667E+00
+71.99 2.722E+00
+72.99 2.777E+00
+73.99 2.829E+00
+74.99 2.881E+00
+75.99 2.931E+00
+76.99 2.979E+00
+77.99 3.026E+00
+78.99 3.071E+00
+79.99 3.115E+00
+80.99 3.157E+00
+81.99 3.198E+00
+82.99 3.238E+00
+83.99 3.276E+00
+84.99 3.313E+00
+85.99 3.349E+00
+86.99 3.384E+00
+87.99 3.419E+00
+88.99 3.451E+00
+89.99 3.483E+00
+90.99 3.514E+00
+91.99 3.544E+00
+92.99 3.572E+00
+93.99 3.600E+00
+94.99 3.627E+00
+95.99 3.654E+00
+96.99 3.679E+00
+97.99 3.704E+00
+98.99 3.728E+00
+99.99 3.751E+00
+100.99 3.773E+00
+101.99 3.794E+00
+102.99 3.815E+00
+103.99 3.835E+00
+104.99 3.855E+00
+105.99 3.874E+00
+106.99 3.892E+00
+107.99 3.909E+00
+108.99 3.926E+00
+109.99 3.943E+00
+110.99 3.958E+00
+111.99 3.974E+00
+112.99 3.988E+00
+113.99 4.003E+00
+114.99 4.016E+00
+115.99 4.029E+00
+116.99 4.042E+00
+117.99 4.055E+00
+118.99 4.066E+00
+119.99 4.078E+00
+120.99 4.089E+00
+121.99 4.099E+00
+122.99 4.109E+00
+123.99 4.119E+00
+124.99 4.128E+00
+125.99 4.137E+00
+126.99 4.146E+00
+127.99 4.154E+00
+128.99 4.162E+00
+129.99 4.169E+00
+130.99 4.177E+00
+131.99 4.184E+00
+132.99 4.190E+00
+133.99 4.196E+00
+134.99 4.202E+00
+135.99 4.209E+00
+136.99 4.214E+00
+137.99 4.219E+00
+138.99 4.224E+00
+139.99 4.228E+00
+140.99 4.233E+00
+141.99 4.237E+00
+142.99 4.241E+00
+143.99 4.244E+00
+144.99 4.248E+00
+145.99 4.251E+00
+146.99 4.254E+00
+147.99 4.257E+00
+148.99 4.259E+00
+149.99 4.262E+00
+150.99 4.264E+00
+151.99 4.266E+00
+152.99 4.268E+00
+153.99 4.269E+00
+154.99 4.271E+00
+155.99 4.272E+00
+156.99 4.273E+00
+157.99 4.274E+00
+158.99 4.275E+00
+159.99 4.276E+00
+160.99 4.276E+00
+161.99 4.277E+00
+162.99 4.277E+00
+163.99 4.277E+00
+164.99 4.277E+00
+165.99 4.277E+00
+166.99 4.276E+00
+167.99 4.276E+00
+168.99 4.275E+00
+169.99 4.274E+00
+170.99 4.273E+00
+171.99 4.272E+00
+172.99 4.271E+00
+173.99 4.270E+00
+174.99 4.268E+00
+175.99 4.267E+00
+176.99 4.265E+00
+177.99 4.264E+00
+178.99 4.262E+00
+179.99 4.260E+00
+180.99 4.258E+00
+181.99 4.256E+00
+182.99 4.253E+00
+183.99 4.251E+00
+184.99 4.249E+00
+185.99 4.246E+00
+186.99 4.243E+00
+187.99 4.241E+00
+188.99 4.238E+00
+189.99 4.235E+00
+190.99 4.232E+00
+191.99 4.229E+00
+192.99 4.226E+00
+193.99 4.223E+00
+194.99 4.219E+00
+195.99 4.216E+00
+196.99 4.213E+00
+197.99 4.209E+00
+198.99 4.206E+00
+199.99 4.202E+00
+200.99 4.198E+00
+201.99 4.195E+00
+202.99 4.191E+00
+203.99 4.187E+00
+204.99 4.184E+00
+205.99 4.179E+00
+206.99 4.175E+00
+207.99 4.171E+00
+208.99 4.167E+00
+209.99 4.163E+00
+210.99 4.159E+00
+211.99 4.154E+00
+212.99 4.150E+00
+213.99 4.146E+00
+214.99 4.142E+00
+215.99 4.137E+00
+216.99 4.133E+00
+217.99 4.128E+00
+218.99 4.124E+00
+219.99 4.119E+00
+220.99 4.114E+00
+221.99 4.109E+00
+222.99 4.105E+00
+223.99 4.100E+00
+224.99 4.096E+00
+225.99 4.091E+00
+226.99 4.086E+00
+227.99 4.081E+00
+228.99 4.076E+00
+229.99 4.071E+00
+230.99 4.066E+00
+231.99 4.061E+00
+232.99 4.057E+00
+233.99 4.051E+00
+234.99 4.046E+00
+235.99 4.041E+00
+236.99 4.036E+00
+237.99 4.031E+00
+238.99 4.026E+00
+239.99 4.021E+00
+240.99 4.016E+00
+241.99 4.011E+00
+242.99 4.006E+00
+243.99 4.000E+00
+244.99 3.995E+00
+245.99 3.990E+00
+246.99 3.985E+00
+247.99 3.979E+00
+248.99 3.974E+00
+249.99 3.969E+00
+250.99 3.964E+00
+251.99 3.958E+00
+252.99 3.953E+00
+253.99 3.948E+00
+254.99 3.943E+00
+255.99 3.937E+00
+256.99 3.932E+00
+257.99 3.927E+00
+258.99 3.922E+00
+259.99 3.916E+00
+260.99 3.911E+00
+261.99 3.906E+00
+262.99 3.900E+00
+263.99 3.895E+00
+264.99 3.890E+00
+265.99 3.885E+00
+266.99 3.879E+00
+267.99 3.874E+00
+268.99 3.869E+00
+269.99 3.863E+00
+270.99 3.858E+00
+271.99 3.853E+00
+272.99 3.848E+00
+273.99 3.842E+00
+274.99 3.837E+00
+275.99 3.832E+00
+276.99 3.827E+00
+277.99 3.821E+00
+278.99 3.816E+00
+279.99 3.811E+00
+280.99 3.806E+00
+281.99 3.801E+00
+282.99 3.796E+00
+283.99 3.790E+00
+284.99 3.785E+00
+285.99 3.780E+00
+286.99 3.775E+00
+287.99 3.770E+00
+288.99 3.764E+00
+289.99 3.759E+00
+290.99 3.754E+00
+291.99 3.749E+00
+292.99 3.744E+00
+293.99 3.739E+00
+294.99 3.734E+00
+295.99 3.729E+00
+296.99 3.724E+00
+297.99 3.719E+00
+298.99 3.713E+00
+299.99 3.708E+00
+300.99 3.704E+00
+301.99 3.699E+00
+302.99 3.693E+00
+303.99 3.689E+00
+304.99 3.684E+00
+305.99 3.679E+00
+306.99 3.674E+00
+307.99 3.669E+00
+308.99 3.664E+00
+309.99 3.659E+00
+310.99 3.655E+00
+311.99 3.649E+00
+312.99 3.645E+00
+313.99 3.640E+00
+314.99 3.635E+00
+315.99 3.630E+00
+316.99 3.625E+00
+317.99 3.620E+00
+318.99 3.616E+00
+319.99 3.611E+00
+320.99 3.606E+00
+321.99 3.601E+00
+322.99 3.597E+00
+323.99 3.592E+00
+324.99 3.587E+00
+325.99 3.583E+00
+326.99 3.578E+00
+327.99 3.573E+00
+328.99 3.569E+00
+329.99 3.564E+00
+330.99 3.560E+00
+331.99 3.555E+00
+332.99 3.550E+00
+333.99 3.546E+00
+334.99 3.541E+00
+335.99 3.537E+00
+336.99 3.532E+00
+337.99 3.527E+00
+338.99 3.523E+00
+339.99 3.518E+00
+340.99 3.504E+00
+341.99 3.471E+00
+342.99 3.423E+00
+343.99 3.367E+00
+344.99 3.307E+00
+345.99 3.244E+00
+346.99 3.181E+00
+347.99 3.119E+00
+348.99 3.058E+00
+349.99 2.999E+00
+350.99 2.941E+00
+351.99 2.884E+00
+352.99 2.830E+00
+353.99 2.776E+00
+354.99 2.724E+00
+355.99 2.674E+00
+356.99 2.625E+00
+357.99 2.577E+00
+358.99 2.530E+00
+359.99 2.484E+00
+360.99 2.440E+00
+361.99 2.396E+00
+362.99 2.354E+00
+363.99 2.312E+00
+364.99 2.272E+00
+365.99 2.232E+00
+366.99 2.194E+00
+367.99 2.156E+00
+368.99 2.119E+00
+369.99 2.083E+00
+370.99 2.048E+00
+371.99 2.014E+00
+372.99 1.980E+00
+373.99 1.947E+00
+374.99 1.915E+00
+375.99 1.884E+00
+376.99 1.853E+00
+377.99 1.822E+00
+378.99 1.793E+00
+379.99 1.764E+00
+380.99 1.736E+00
+381.99 1.709E+00
+382.99 1.682E+00
+383.99 1.655E+00
+384.99 1.630E+00
+385.99 1.605E+00
+386.99 1.580E+00
+387.99 1.556E+00
+388.99 1.532E+00
+389.99 1.509E+00
+390.99 1.487E+00
+391.99 1.465E+00
+392.99 1.443E+00
+393.99 1.422E+00
+394.99 1.401E+00
+395.99 1.381E+00
+396.99 1.361E+00
+397.99 1.341E+00
+398.99 1.322E+00
+399.99 1.303E+00
+400.99 1.285E+00
+401.99 1.267E+00
+402.99 1.250E+00
+403.99 1.232E+00
+404.99 1.215E+00
+405.99 1.199E+00
+406.99 1.182E+00
+407.99 1.167E+00
+408.99 1.151E+00
+409.99 1.135E+00
+410.99 1.121E+00
+411.99 1.106E+00
+412.99 1.091E+00
+413.99 1.077E+00
+414.99 1.063E+00
+415.99 1.050E+00
+416.99 1.036E+00
+417.99 1.023E+00
+418.99 1.010E+00
+419.99 9.975E-01
+420.99 9.852E-01
+421.99 9.726E-01
+422.99 9.610E-01
+423.99 9.489E-01
+424.99 9.376E-01
+425.99 9.266E-01
+426.99 9.151E-01
+427.99 9.042E-01
+428.99 8.935E-01
+429.99 8.827E-01
+430.99 8.725E-01
+431.99 8.625E-01
+432.99 8.522E-01
+433.99 8.422E-01
+434.99 8.326E-01
+435.99 8.231E-01
+436.99 8.138E-01
+437.99 8.046E-01
+438.99 7.954E-01
+439.99 7.867E-01
+440.99 7.778E-01
+441.99 7.691E-01
+442.99 7.606E-01
+443.99 7.522E-01
+444.99 7.441E-01
+445.99 7.359E-01
+446.99 7.281E-01
+447.99 7.202E-01
+448.99 7.124E-01
+449.99 7.048E-01
+450.99 6.975E-01
+451.99 6.898E-01
+452.99 6.830E-01
+453.99 6.756E-01
+454.99 6.685E-01
+455.99 6.618E-01
+456.99 6.545E-01
+457.99 6.479E-01
+458.99 6.415E-01
+459.99 6.345E-01
+460.99 6.281E-01
+461.99 6.218E-01
+462.99 6.155E-01
+463.99 6.092E-01
+464.99 6.032E-01
+465.99 5.973E-01
+466.99 5.914E-01
+467.99 5.854E-01
+468.99 5.798E-01
+469.99 5.739E-01
+470.99 5.685E-01
+471.99 5.628E-01
+472.99 5.571E-01
+473.99 5.514E-01
+474.99 5.464E-01
+475.99 5.411E-01
+476.99 5.358E-01
+477.99 5.309E-01
+478.99 5.258E-01
+479.99 5.203E-01
+480.99 5.155E-01
+481.99 5.105E-01
+482.99 5.058E-01
+483.99 5.009E-01
+484.99 4.962E-01
+485.99 4.915E-01
+486.99 4.867E-01
+487.99 4.822E-01
+488.99 4.777E-01
+489.99 4.733E-01
+490.99 4.690E-01
+491.99 4.643E-01
+492.99 4.601E-01
+493.99 4.555E-01
+494.99 4.514E-01
+495.99 4.475E-01
+496.99 4.432E-01
+497.99 4.389E-01
+498.99 4.349E-01
+499.99 4.305E-01
+500.99 4.267E-01
+501.99 4.228E-01
+502.99 4.189E-01
+503.99 4.148E-01
+504.99 4.110E-01
+505.99 4.071E-01
+506.99 4.032E-01
+507.99 3.996E-01
+508.99 3.963E-01
+509.99 3.920E-01
+510.99 3.885E-01
+511.99 3.847E-01
+512.99 3.813E-01
+513.99 3.778E-01
+514.99 3.744E-01
+515.99 3.711E-01
+516.99 3.672E-01
+517.99 3.638E-01
+518.99 3.604E-01
+519.99 3.568E-01
+520.99 3.536E-01
+521.99 3.507E-01
+522.99 3.473E-01
+523.99 3.436E-01
+524.99 3.403E-01
+525.99 3.374E-01
+526.99 3.341E-01
+527.99 3.308E-01
+528.99 3.278E-01
+529.99 3.248E-01
+530.99 3.217E-01
+531.99 3.185E-01
+532.99 3.154E-01
+533.99 3.125E-01
+534.99 3.092E-01
+535.99 3.065E-01
+536.99 3.036E-01
+537.99 3.003E-01
+538.99 2.973E-01
+539.99 2.946E-01
+540.99 2.914E-01
+541.99 2.889E-01
+542.99 2.861E-01
+543.99 2.829E-01
+544.99 2.803E-01
+545.99 2.773E-01
+546.99 2.746E-01
+547.99 2.718E-01
+548.99 2.694E-01
+549.99 2.665E-01
+550.99 2.637E-01
+551.99 2.610E-01
+552.99 2.584E-01
+553.99 2.555E-01
+554.99 2.530E-01
+555.99 2.505E-01
+556.99 2.476E-01
+557.99 2.450E-01
+558.99 2.424E-01
+559.99 2.401E-01
+560.99 2.373E-01
+561.99 2.345E-01
+562.99 2.324E-01
+563.99 2.292E-01
+564.99 2.274E-01
+565.99 2.247E-01
+566.99 2.224E-01
+567.99 2.198E-01
+568.99 2.174E-01
+569.99 2.149E-01
+570.99 2.124E-01
+571.99 2.102E-01
+572.99 2.076E-01
+573.99 2.053E-01
+574.99 2.027E-01
+575.99 2.001E-01
+576.99 1.980E-01
+577.99 1.955E-01
+578.99 1.933E-01
+579.99 1.910E-01
+580.99 1.888E-01
+581.99 1.861E-01
+582.99 1.842E-01
+583.99 1.817E-01
+584.99 1.796E-01
+585.99 1.772E-01
+586.99 1.751E-01
+587.99 1.727E-01
+588.99 1.706E-01
+589.99 1.683E-01
+590.99 1.661E-01
+591.99 1.636E-01
+592.99 1.616E-01
+593.99 1.593E-01
+594.99 1.572E-01
+595.99 1.555E-01
+596.99 1.528E-01
+597.99 1.508E-01
+598.99 1.485E-01
+599.99 1.463E-01
+600.99 1.442E-01
+601.99 1.422E-01
+602.99 1.396E-01
+603.99 1.375E-01
+604.99 1.353E-01
+605.99 1.334E-01
+606.99 1.312E-01
+607.99 1.292E-01
+608.99 1.270E-01
+609.99 1.251E-01
+610.99 1.230E-01
+611.99 1.209E-01
+612.99 1.191E-01
+613.99 1.167E-01
+614.99 1.146E-01
+615.99 1.129E-01
+616.99 1.109E-01
+617.99 1.087E-01
+618.99 1.066E-01
+619.99 1.046E-01
+620.99 1.029E-01
+621.99 1.005E-01
+622.99 9.884E-02
+623.99 9.674E-02
+624.99 9.439E-02
+625.99 9.273E-02
+626.99 9.060E-02
+627.99 8.857E-02
+628.99 8.674E-02
+629.99 8.484E-02
+630.99 8.277E-02
+631.99 8.084E-02
+632.99 7.912E-02
+633.99 7.691E-02
+634.99 7.502E-02
+635.99 7.315E-02
+636.99 7.113E-02
+637.99 6.943E-02
+638.99 6.754E-02
+639.99 6.553E-02
+640.99 6.362E-02
+641.99 6.183E-02
+642.99 5.992E-02
+643.99 5.809E-02
+644.99 5.624E-02
+645.99 5.432E-02
+646.99 5.218E-02
+647.99 5.077E-02
+648.99 4.861E-02
+649.99 4.656E-02
+650.99 4.507E-02
+651.99 4.324E-02
+652.99 4.134E-02
+653.99 3.956E-02
+654.99 3.752E-02
+655.99 3.569E-02
+656.99 3.386E-02
+657.99 3.193E-02
+658.99 3.020E-02
+659.99 2.786E-02
+660.99 2.668E-02
+661.99 2.488E-02
+662.99 2.275E-02
+663.99 2.109E-02
+664.99 1.933E-02
+665.99 1.781E-02
+666.99 1.548E-02
+667.99 1.401E-02
+668.99 1.200E-02
+669.99 1.032E-02
+670.99 8.471E-03
+671.99 6.873E-03
+672.99 5.129E-03
+673.99 3.384E-03
+674.99 1.324E-03
+675.99 -2.730E-04
+676.99 -2.249E-03
+677.99 -3.594E-03
+678.99 -5.581E-03
+679.99 -7.367E-03
+680.99 -9.175E-03
+681.99 -1.086E-02
+682.99 -1.269E-02
+683.99 -1.420E-02
+684.99 -1.599E-02
+685.99 -1.779E-02
+686.99 -1.939E-02
+687.99 -2.142E-02
+688.99 -2.287E-02
+689.99 -2.455E-02
+690.99 -2.617E-02
+691.99 -2.804E-02
+692.99 -2.991E-02
+693.99 -3.149E-02
+694.99 -3.317E-02
+695.99 -3.485E-02
+696.99 -3.639E-02
+697.99 -3.798E-02
+698.99 -3.988E-02
+699.99 -4.163E-02
+700.99 -4.314E-02
+701.99 -4.480E-02
+702.99 -4.680E-02
+703.99 -4.842E-02
+704.99 -4.993E-02
+705.99 -5.178E-02
+706.99 -5.344E-02
+707.99 -5.517E-02
+708.99 -5.666E-02
+709.99 -5.845E-02
+710.99 -6.020E-02
+711.99 -6.186E-02
+712.99 -6.352E-02
+713.99 -6.503E-02
+714.99 -6.676E-02
+715.99 -6.840E-02
+716.99 -7.008E-02
+717.99 -7.191E-02
+718.99 -7.338E-02
+719.99 -7.496E-02
+720.99 -7.655E-02
+721.99 -7.808E-02
+722.99 -7.999E-02
+723.99 -8.173E-02
+724.99 -8.348E-02
+725.99 -8.493E-02
+726.99 -8.659E-02
+727.99 -8.829E-02
+728.99 -8.993E-02
+729.99 -9.151E-02
+730.99 -9.305E-02
+731.99 -9.492E-02
+732.99 -9.661E-02
+733.99 -9.820E-02
+734.99 -9.965E-02
+735.99 -1.009E-01
+736.99 -1.030E-01
+737.99 -1.048E-01
+738.99 -1.061E-01
+739.99 -1.080E-01
+740.99 -1.094E-01
+741.99 -1.111E-01
+742.99 -1.124E-01
+743.99 -1.141E-01
+744.99 -1.156E-01
+745.99 -1.174E-01
+746.99 -1.190E-01
+747.99 -1.203E-01
+748.99 -1.222E-01
+749.99 -1.235E-01
+750.99 -1.252E-01
+751.99 -1.267E-01
+752.99 -1.287E-01
+753.99 -1.300E-01
+754.99 -1.315E-01
+755.99 -1.331E-01
+756.99 -1.349E-01
+757.99 -1.363E-01
+758.99 -1.379E-01
+759.99 -1.395E-01
+760.99 -1.412E-01
+761.99 -1.427E-01
+762.99 -1.443E-01
+763.99 -1.457E-01
+764.99 -1.474E-01
+765.99 -1.490E-01
+766.99 -1.505E-01
+767.99 -1.520E-01
+768.99 -1.539E-01
+769.99 -1.554E-01
+770.99 -1.568E-01
+771.99 -1.581E-01
+772.99 -1.597E-01
+773.99 -1.612E-01
+774.99 -1.633E-01
+775.99 -1.647E-01
+776.99 -1.663E-01
+777.99 -1.679E-01
+778.99 -1.694E-01
+779.99 -1.708E-01
+780.99 -1.723E-01
+781.99 -1.736E-01
+782.99 -1.753E-01
+783.99 -1.772E-01
+784.99 -1.788E-01
+785.99 -1.801E-01
+786.99 -1.816E-01
+787.99 -1.836E-01
+788.99 -1.849E-01
+789.99 -1.863E-01
+790.99 -1.881E-01
+791.99 -1.895E-01
+792.99 -1.909E-01
+793.99 -1.923E-01
+794.99 -1.942E-01
+795.99 -1.954E-01
+796.99 -1.970E-01
+797.99 -1.983E-01
+798.99 -2.001E-01
+799.99 -2.016E-01
+800.99 -2.030E-01
+801.99 -2.048E-01
+802.99 -2.061E-01
+