Electrical and Computer Engineering
22 of 29
UAH
CPE 112
Problem-Solving Case
Study (continued)
•Discussion: The length of the wood is twice the sum of the length and the width of the painting. The cost of the wood is simply its length times its cost per inch. For the canvas, we must add 5 inches to the length and width to allow for wrapping the canvas around the frame.The area is length times width, converted from square inches to square feet.
•Assumptions: The input values are positive (checking for erroneous data is not done).