Matlab diary for problem 1
trap.m
plot of N vs. error

Matlab diary for problem 2
simp.m