homework 4-8 QPC