EE313 homework