MA0612 homework 3 & app period