Add lab session 5
Handed in on 24 Nov 2020.
Change-Id: I2264c4fa515b1d8140a328292f950b8ffb481ef8
diff --git a/p5/numerical_integration/main2.m b/p5/numerical_integration/main2.m
new file mode 100644
index 0000000..cc89db4
--- /dev/null
+++ b/p5/numerical_integration/main2.m
@@ -0,0 +1,12 @@
+# 0 -> 6.25, 50 -> 16.1
+# x -> 6.25 + ((16.1 - 6.25)/50)*x
+# 27.36 -> 11.63992
+
+# 0 -> 24.0, 50 -> 24.5
+# x -> 24 + ((24.5 - 24)/50)*x
+# 43.15 -> 24.4315
+
+x = [77.36, 100, 150, 200, 250, 293.15];
+y = [11.63992, 16.1, 20.5, 22.8, 24.0, 24.4315];
+
+trapz(x, y)/63.5463