Add lab session 4

Handed in on 10 Nov 2020.

Change-Id: Iac2b326e564a415d56c927b1900856d55fd6b9ed
diff --git a/p4/data/mesura2.dat b/p4/data/mesura2.dat
new file mode 100644
index 0000000..042f42a
--- /dev/null
+++ b/p4/data/mesura2.dat
@@ -0,0 +1,758 @@
+-0.01	2.479E+00
+1.00	2.481E+00
+2.00	2.485E+00
+3.00	2.488E+00
+4.00	2.493E+00
+5.00	2.498E+00
+6.00	2.504E+00
+7.00	2.510E+00
+8.00	2.517E+00
+9.00	2.524E+00
+10.00	2.532E+00
+11.00	2.540E+00
+12.00	2.549E+00
+13.00	2.558E+00
+14.00	2.568E+00
+15.00	2.577E+00
+16.00	2.587E+00
+17.00	2.598E+00
+18.00	2.608E+00
+19.00	2.619E+00
+20.00	2.629E+00
+21.00	2.640E+00
+22.00	2.651E+00
+23.00	2.662E+00
+24.00	2.673E+00
+25.00	2.685E+00
+26.00	2.696E+00
+27.00	2.707E+00
+28.00	2.718E+00
+29.00	2.729E+00
+30.00	2.740E+00
+31.00	2.750E+00
+32.00	2.761E+00
+33.00	2.772E+00
+34.00	2.782E+00
+35.00	2.793E+00
+36.00	2.803E+00
+37.00	2.813E+00
+38.00	2.823E+00
+39.00	2.833E+00
+40.00	2.843E+00
+41.00	2.853E+00
+42.00	2.862E+00
+43.00	2.871E+00
+44.00	2.881E+00
+45.00	2.890E+00
+46.00	2.910E+00
+47.00	2.948E+00
+48.00	3.002E+00
+49.00	3.065E+00
+50.00	3.133E+00
+51.00	3.204E+00
+52.00	3.276E+00
+53.00	3.347E+00
+54.00	3.417E+00
+55.00	3.485E+00
+56.00	3.552E+00
+57.00	3.617E+00
+58.00	3.681E+00
+59.00	3.742E+00
+60.00	3.802E+00
+61.00	3.861E+00
+62.00	3.918E+00
+63.00	3.973E+00
+64.00	4.027E+00
+65.00	4.080E+00
+66.00	4.132E+00
+67.00	4.182E+00
+68.00	4.231E+00
+69.00	4.279E+00
+70.00	4.326E+00
+71.00	4.371E+00
+72.00	4.416E+00
+73.00	4.459E+00
+74.00	4.502E+00
+75.00	4.544E+00
+76.00	4.585E+00
+77.00	4.624E+00
+78.00	4.663E+00
+79.00	4.702E+00
+80.00	4.739E+00
+81.00	4.775E+00
+82.00	4.811E+00
+83.00	4.846E+00
+84.00	4.880E+00
+85.00	4.914E+00
+86.00	4.946E+00
+87.00	4.978E+00
+88.00	5.010E+00
+89.00	5.041E+00
+90.00	5.071E+00
+91.00	5.100E+00
+92.00	5.129E+00
+93.00	5.157E+00
+94.00	5.185E+00
+95.00	5.212E+00
+96.00	5.239E+00
+97.00	5.264E+00
+98.00	5.290E+00
+99.00	5.315E+00
+100.00	5.340E+00
+101.00	5.364E+00
+102.00	5.387E+00
+103.00	5.411E+00
+104.00	5.433E+00
+105.00	5.456E+00
+106.00	5.478E+00
+107.00	5.499E+00
+108.00	5.520E+00
+109.00	5.541E+00
+110.00	5.561E+00
+111.00	5.580E+00
+112.00	5.600E+00
+113.00	5.619E+00
+114.00	5.638E+00
+115.00	5.657E+00
+116.00	5.675E+00
+117.00	5.693E+00
+118.00	5.710E+00
+119.00	5.727E+00
+120.00	5.744E+00
+121.00	5.761E+00
+122.00	5.777E+00
+123.00	5.793E+00
+124.00	5.809E+00
+125.00	5.824E+00
+126.00	5.840E+00
+127.00	5.854E+00
+128.00	5.869E+00
+129.00	5.884E+00
+130.00	5.898E+00
+131.00	5.912E+00
+132.00	5.925E+00
+133.00	5.939E+00
+134.00	5.952E+00
+135.00	5.965E+00
+136.00	5.978E+00
+137.00	5.990E+00
+138.00	6.003E+00
+139.00	6.014E+00
+140.00	6.027E+00
+141.00	6.038E+00
+142.00	6.050E+00
+143.00	6.061E+00
+144.00	6.072E+00
+145.00	6.083E+00
+146.00	6.094E+00
+147.00	6.105E+00
+148.00	6.115E+00
+149.00	6.125E+00
+150.00	6.135E+00
+151.00	6.146E+00
+152.00	6.155E+00
+153.00	6.165E+00
+154.00	6.174E+00
+155.00	6.183E+00
+156.00	6.192E+00
+157.00	6.201E+00
+158.00	6.210E+00
+159.00	6.219E+00
+160.00	6.227E+00
+161.00	6.236E+00
+162.00	6.244E+00
+163.00	6.252E+00
+164.00	6.260E+00
+165.00	6.268E+00
+166.00	6.276E+00
+167.00	6.283E+00
+168.00	6.291E+00
+169.00	6.298E+00
+170.00	6.305E+00
+171.00	6.312E+00
+172.00	6.319E+00
+173.00	6.325E+00
+174.00	6.332E+00
+175.00	6.338E+00
+176.00	6.345E+00
+177.00	6.351E+00
+178.00	6.357E+00
+179.00	6.363E+00
+180.00	6.368E+00
+181.00	6.374E+00
+182.00	6.380E+00
+183.00	6.385E+00
+184.00	6.391E+00
+185.00	6.396E+00
+186.00	6.401E+00
+187.00	6.406E+00
+188.00	6.411E+00
+189.00	6.416E+00
+190.00	6.421E+00
+191.00	6.425E+00
+192.00	6.430E+00
+193.00	6.434E+00
+194.00	6.439E+00
+195.00	6.443E+00
+196.00	6.447E+00
+197.00	6.451E+00
+198.00	6.455E+00
+199.00	6.458E+00
+200.00	6.462E+00
+201.00	6.466E+00
+202.00	6.470E+00
+203.00	6.473E+00
+204.00	6.477E+00
+205.00	6.480E+00
+206.00	6.483E+00
+207.00	6.486E+00
+208.00	6.489E+00
+209.00	6.492E+00
+210.00	6.495E+00
+211.00	6.498E+00
+212.00	6.500E+00
+213.00	6.503E+00
+214.00	6.506E+00
+215.00	6.508E+00
+216.00	6.510E+00
+217.00	6.513E+00
+218.00	6.515E+00
+219.00	6.517E+00
+220.00	6.519E+00
+221.00	6.522E+00
+222.00	6.523E+00
+223.00	6.525E+00
+224.00	6.527E+00
+225.00	6.529E+00
+226.00	6.530E+00
+227.00	6.532E+00
+228.00	6.534E+00
+229.00	6.535E+00
+230.00	6.537E+00
+231.00	6.538E+00
+232.00	6.539E+00
+233.00	6.541E+00
+234.00	6.542E+00
+235.00	6.543E+00
+236.00	6.544E+00
+237.00	6.545E+00
+238.00	6.546E+00
+239.00	6.547E+00
+240.00	6.548E+00
+241.00	6.549E+00
+242.00	6.549E+00
+243.00	6.550E+00
+244.00	6.551E+00
+245.00	6.551E+00
+246.00	6.552E+00
+247.00	6.552E+00
+248.00	6.553E+00
+249.00	6.553E+00
+250.00	6.553E+00
+251.00	6.554E+00
+252.00	6.554E+00
+253.00	6.554E+00
+254.00	6.554E+00
+255.00	6.554E+00
+256.00	6.554E+00
+257.00	6.554E+00
+258.00	6.554E+00
+259.00	6.554E+00
+260.00	6.554E+00
+261.00	6.554E+00
+262.00	6.554E+00
+263.00	6.553E+00
+264.00	6.553E+00
+265.00	6.552E+00
+266.00	6.552E+00
+267.00	6.552E+00
+268.00	6.551E+00
+269.00	6.551E+00
+270.00	6.550E+00
+271.00	6.550E+00
+272.00	6.549E+00
+273.00	6.548E+00
+274.00	6.548E+00
+275.00	6.547E+00
+276.00	6.546E+00
+277.00	6.546E+00
+278.00	6.545E+00
+279.00	6.544E+00
+280.00	6.543E+00
+281.00	6.542E+00
+282.00	6.541E+00
+283.00	6.540E+00
+284.00	6.539E+00
+285.00	6.538E+00
+286.00	6.537E+00
+287.00	6.536E+00
+288.00	6.534E+00
+289.00	6.533E+00
+290.00	6.532E+00
+291.00	6.531E+00
+292.00	6.529E+00
+293.00	6.528E+00
+294.00	6.527E+00
+295.00	6.526E+00
+296.00	6.524E+00
+297.00	6.523E+00
+298.00	6.521E+00
+299.00	6.520E+00
+300.00	6.518E+00
+301.00	6.517E+00
+302.00	6.515E+00
+303.00	6.514E+00
+304.00	6.512E+00
+305.00	6.511E+00
+306.00	6.509E+00
+307.00	6.507E+00
+308.00	6.506E+00
+309.00	6.504E+00
+310.00	6.502E+00
+311.00	6.501E+00
+312.00	6.499E+00
+313.00	6.497E+00
+314.00	6.495E+00
+315.00	6.493E+00
+316.00	6.492E+00
+317.00	6.490E+00
+318.00	6.488E+00
+319.00	6.486E+00
+320.00	6.484E+00
+321.00	6.482E+00
+322.00	6.481E+00
+323.00	6.479E+00
+324.00	6.477E+00
+325.00	6.475E+00
+326.00	6.473E+00
+327.00	6.471E+00
+328.00	6.469E+00
+329.00	6.467E+00
+330.00	6.465E+00
+331.00	6.463E+00
+332.00	6.461E+00
+333.00	6.459E+00
+334.00	6.456E+00
+335.00	6.455E+00
+336.00	6.453E+00
+337.00	6.450E+00
+338.00	6.448E+00
+339.00	6.446E+00
+340.00	6.444E+00
+341.00	6.442E+00
+342.00	6.440E+00
+343.00	6.438E+00
+344.00	6.435E+00
+345.00	6.433E+00
+346.00	6.431E+00
+347.00	6.429E+00
+348.00	6.427E+00
+349.00	6.425E+00
+350.00	6.422E+00
+351.00	6.420E+00
+352.00	6.417E+00
+353.00	6.415E+00
+354.00	6.413E+00
+355.00	6.411E+00
+356.00	6.409E+00
+357.00	6.406E+00
+358.00	6.404E+00
+359.00	6.402E+00
+360.00	6.399E+00
+361.00	6.397E+00
+362.00	6.394E+00
+363.00	6.392E+00
+364.00	6.390E+00
+365.00	6.387E+00
+366.00	6.385E+00
+367.00	6.383E+00
+368.00	6.380E+00
+369.00	6.377E+00
+370.00	6.375E+00
+371.00	6.373E+00
+372.00	6.370E+00
+373.00	6.368E+00
+374.00	6.365E+00
+375.00	6.362E+00
+376.00	6.360E+00
+377.00	6.358E+00
+378.00	6.355E+00
+379.00	6.353E+00
+380.00	6.351E+00
+381.00	6.348E+00
+382.00	6.345E+00
+383.00	6.342E+00
+384.00	6.340E+00
+385.00	6.338E+00
+386.00	6.335E+00
+387.00	6.332E+00
+388.00	6.330E+00
+389.00	6.327E+00
+390.00	6.325E+00
+391.00	6.322E+00
+392.00	6.320E+00
+393.00	6.317E+00
+394.00	6.315E+00
+395.00	6.312E+00
+396.00	6.310E+00
+397.00	6.307E+00
+398.00	6.305E+00
+399.00	6.302E+00
+400.00	6.299E+00
+401.00	6.297E+00
+402.00	6.294E+00
+403.00	6.291E+00
+404.00	6.289E+00
+405.00	6.286E+00
+406.00	6.283E+00
+407.00	6.281E+00
+408.00	6.278E+00
+409.00	6.276E+00
+410.00	6.273E+00
+411.00	6.270E+00
+412.00	6.268E+00
+413.00	6.265E+00
+414.00	6.262E+00
+415.00	6.260E+00
+416.00	6.257E+00
+417.00	6.255E+00
+418.00	6.252E+00
+419.00	6.249E+00
+420.00	6.245E+00
+421.00	6.225E+00
+422.00	6.187E+00
+423.00	6.136E+00
+424.00	6.077E+00
+425.00	6.014E+00
+426.00	5.950E+00
+427.00	5.885E+00
+428.00	5.822E+00
+429.00	5.759E+00
+430.00	5.698E+00
+431.00	5.638E+00
+432.00	5.580E+00
+433.00	5.524E+00
+434.00	5.469E+00
+435.00	5.416E+00
+436.00	5.364E+00
+437.00	5.314E+00
+438.00	5.265E+00
+439.00	5.217E+00
+440.00	5.170E+00
+441.00	5.125E+00
+442.00	5.081E+00
+443.00	5.037E+00
+444.00	4.995E+00
+445.00	4.954E+00
+446.00	4.914E+00
+447.00	4.875E+00
+448.00	4.837E+00
+449.00	4.799E+00
+450.00	4.763E+00
+451.00	4.727E+00
+452.00	4.692E+00
+453.00	4.659E+00
+454.00	4.625E+00
+455.00	4.593E+00
+456.00	4.561E+00
+457.00	4.531E+00
+458.00	4.500E+00
+459.00	4.471E+00
+460.00	4.442E+00
+461.00	4.414E+00
+462.00	4.387E+00
+463.00	4.359E+00
+464.00	4.333E+00
+465.00	4.307E+00
+466.00	4.283E+00
+467.00	4.258E+00
+468.00	4.234E+00
+469.00	4.211E+00
+470.00	4.187E+00
+471.00	4.165E+00
+472.00	4.143E+00
+473.00	4.122E+00
+474.00	4.101E+00
+475.00	4.080E+00
+476.00	4.060E+00
+477.00	4.041E+00
+478.00	4.022E+00
+479.00	4.003E+00
+480.00	3.984E+00
+481.00	3.966E+00
+482.00	3.949E+00
+483.00	3.931E+00
+484.00	3.914E+00
+485.00	3.898E+00
+486.00	3.882E+00
+487.00	3.866E+00
+488.00	3.850E+00
+489.00	3.835E+00
+490.00	3.820E+00
+491.00	3.806E+00
+492.00	3.791E+00
+493.00	3.777E+00
+494.00	3.763E+00
+495.00	3.750E+00
+496.00	3.737E+00
+497.00	3.724E+00
+498.00	3.711E+00
+499.00	3.699E+00
+500.00	3.687E+00
+501.00	3.675E+00
+502.00	3.663E+00
+503.00	3.652E+00
+504.00	3.640E+00
+505.00	3.630E+00
+506.00	3.619E+00
+507.00	3.608E+00
+508.00	3.598E+00
+509.00	3.588E+00
+510.00	3.578E+00
+511.00	3.568E+00
+512.00	3.558E+00
+513.00	3.549E+00
+514.00	3.539E+00
+515.00	3.530E+00
+516.00	3.521E+00
+517.00	3.512E+00
+518.00	3.504E+00
+519.00	3.495E+00
+520.00	3.487E+00
+521.00	3.479E+00
+522.00	3.471E+00
+523.00	3.463E+00
+524.00	3.455E+00
+525.00	3.447E+00
+526.00	3.440E+00
+527.00	3.432E+00
+528.00	3.425E+00
+529.00	3.418E+00
+530.00	3.411E+00
+531.00	3.404E+00
+532.00	3.397E+00
+533.00	3.391E+00
+534.00	3.384E+00
+535.00	3.378E+00
+536.00	3.371E+00
+537.00	3.365E+00
+538.00	3.358E+00
+539.00	3.352E+00
+540.00	3.346E+00
+541.00	3.340E+00
+542.00	3.334E+00
+543.00	3.329E+00
+544.00	3.323E+00
+545.00	3.318E+00
+546.00	3.312E+00
+547.00	3.307E+00
+548.00	3.301E+00
+549.00	3.296E+00
+550.00	3.291E+00
+551.00	3.286E+00
+552.00	3.280E+00
+553.00	3.275E+00
+554.00	3.271E+00
+555.00	3.266E+00
+556.00	3.261E+00
+557.00	3.256E+00
+558.00	3.251E+00
+559.00	3.247E+00
+560.00	3.242E+00
+561.00	3.238E+00
+562.00	3.233E+00
+563.00	3.229E+00
+564.00	3.224E+00
+565.00	3.220E+00
+566.00	3.216E+00
+567.00	3.212E+00
+568.00	3.207E+00
+569.00	3.204E+00
+570.00	3.199E+00
+571.00	3.195E+00
+572.00	3.192E+00
+573.00	3.188E+00
+574.00	3.184E+00
+575.00	3.180E+00
+576.00	3.176E+00
+577.00	3.172E+00
+578.00	3.169E+00
+579.00	3.165E+00
+580.00	3.161E+00
+581.00	3.157E+00
+582.00	3.154E+00
+583.00	3.150E+00
+584.00	3.147E+00
+585.00	3.143E+00
+586.00	3.140E+00
+587.00	3.136E+00
+588.00	3.133E+00
+589.00	3.130E+00
+590.00	3.126E+00
+591.00	3.123E+00
+592.00	3.120E+00
+593.00	3.117E+00
+594.00	3.113E+00
+595.00	3.110E+00
+596.00	3.107E+00
+597.00	3.104E+00
+598.00	3.101E+00
+599.00	3.098E+00
+600.00	3.094E+00
+601.00	3.092E+00
+602.00	3.089E+00
+603.00	3.085E+00
+604.00	3.082E+00
+605.00	3.080E+00
+606.00	3.077E+00
+607.00	3.074E+00
+608.00	3.071E+00
+609.00	3.068E+00
+610.00	3.065E+00
+611.00	3.062E+00
+612.00	3.060E+00
+613.00	3.057E+00
+614.00	3.054E+00
+615.00	3.051E+00
+616.00	3.048E+00
+617.00	3.046E+00
+618.00	3.043E+00
+619.00	3.040E+00
+620.00	3.037E+00
+621.00	3.035E+00
+622.00	3.032E+00
+623.00	3.029E+00
+624.00	3.027E+00
+625.00	3.024E+00
+626.00	3.022E+00
+627.00	3.019E+00
+628.00	3.016E+00
+629.00	3.014E+00
+630.00	3.011E+00
+631.00	3.009E+00
+632.00	3.006E+00
+633.00	3.004E+00
+634.00	3.001E+00
+635.00	2.999E+00
+636.00	2.996E+00
+637.00	2.993E+00
+638.00	2.991E+00
+639.00	2.989E+00
+640.00	2.986E+00
+641.00	2.984E+00
+642.00	2.981E+00
+643.00	2.979E+00
+644.00	2.976E+00
+645.00	2.974E+00
+646.00	2.971E+00
+647.00	2.969E+00
+648.00	2.967E+00
+649.00	2.965E+00
+650.00	2.962E+00
+651.00	2.960E+00
+652.00	2.957E+00
+653.00	2.955E+00
+654.00	2.953E+00
+655.14	2.950E+00
+656.14	2.948E+00
+657.14	2.945E+00
+658.14	2.943E+00
+659.14	2.940E+00
+660.14	2.938E+00
+661.14	2.936E+00
+662.14	2.933E+00
+663.14	2.931E+00
+664.14	2.929E+00
+665.14	2.927E+00
+666.14	2.924E+00
+667.14	2.922E+00
+668.14	2.920E+00
+669.14	2.918E+00
+670.14	2.916E+00
+671.14	2.913E+00
+672.14	2.911E+00
+673.14	2.908E+00
+674.14	2.907E+00
+675.14	2.904E+00
+676.14	2.902E+00
+677.14	2.900E+00
+678.14	2.897E+00
+679.14	2.895E+00
+680.14	2.893E+00
+681.14	2.891E+00
+682.14	2.888E+00
+683.14	2.886E+00
+684.14	2.884E+00
+685.14	2.882E+00
+686.14	2.880E+00
+687.14	2.877E+00
+688.14	2.875E+00
+689.14	2.873E+00
+690.14	2.871E+00
+691.14	2.869E+00
+692.14	2.867E+00
+693.14	2.864E+00
+694.14	2.862E+00
+695.14	2.860E+00
+696.14	2.858E+00
+697.14	2.856E+00
+698.14	2.853E+00
+699.14	2.851E+00
+700.14	2.849E+00
+701.14	2.847E+00
+702.14	2.845E+00
+703.14	2.843E+00
+704.14	2.841E+00
+705.14	2.839E+00
+706.14	2.836E+00
+707.14	2.834E+00
+708.14	2.832E+00
+709.14	2.830E+00
+710.14	2.828E+00
+711.14	2.826E+00
+712.14	2.823E+00
+713.14	2.821E+00
+714.14	2.819E+00
+715.14	2.817E+00
+716.14	2.815E+00
+717.14	2.813E+00
+718.14	2.811E+00
+719.14	2.809E+00
+720.14	2.807E+00
+721.14	2.805E+00
+722.14	2.802E+00
+723.14	2.800E+00
+724.14	2.798E+00
+725.14	2.796E+00
+726.14	2.794E+00
+727.14	2.792E+00
+728.14	2.790E+00
+729.14	2.788E+00
+730.14	2.786E+00
+731.14	2.784E+00
+732.14	2.782E+00
+733.14	2.779E+00
+734.14	2.777E+00
+735.14	2.775E+00
+736.14	2.773E+00
+737.14	2.772E+00
+738.14	2.769E+00
+739.14	2.767E+00
+740.14	2.765E+00
+741.14	2.763E+00
+742.14	2.761E+00
+743.14	2.759E+00
+744.14	2.757E+00
+745.14	2.755E+00
+746.14	2.753E+00
+747.14	2.751E+00
+748.14	2.748E+00
+749.14	2.746E+00
+750.14	2.744E+00
+751.14	2.742E+00
+752.14	2.740E+00
+753.14	2.738E+00
+754.14	2.736E+00
+755.14	2.734E+00
+756.14	2.732E+00
+