CSCI 1312 (Introduction to Programming for Engineering), Fall 2018:
Homework 3 Solution (Programming Problems)

  1. (15 points)

    Refer to assignment for description of problem.

    Solution: Here are two solutions, first the one beginners are most likely to write and then one that is simpler but might not occur to anyone who hasn't yet encountered the general problem.

  2. (20 points)

    Refer to assignment for description of problem.

    Solution: Here is one solution (not perhaps optimal and well-documented but does pass all my tests):



Berna Massingill
2018-09-28