Uploaded answer to Q5d and Q14a of Assignment 4