How it works: This one is a bit more complicated, but it is just like what was explained by the teacher for us to do on our own. The height for each equation is just like the definition from our book: f(xn), xn = a + dx*k, dx=(b-a)/n The width of each rectangle is just like the spacing out of the seperating lines.