q1.8 started, functions done. Need to find lambda and plot rest.