solution for hw 5 electrical engineering 134387