▾ Part 2: Cost to Cover the Warehouse (10 points) For this part we want to compute the cost to install siding on a new w

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

▾ Part 2: Cost to Cover the Warehouse (10 points) For this part we want to compute the cost to install siding on a new w

Post by answerhappygod »

Part 2 Cost To Cover The Warehouse 10 Points For This Part We Want To Compute The Cost To Install Siding On A New W 1
Part 2 Cost To Cover The Warehouse 10 Points For This Part We Want To Compute The Cost To Install Siding On A New W 1 (333.86 KiB) Viewed 39 times
▾ Part 2: Cost to Cover the Warehouse (10 points) For this part we want to compute the cost to install siding on a new warehouse, depicted below. The dimensions depicted in the figure are in units of feet. The distance h + r is the distance from the ground to the peak of the roof. The triangular regions (one shown, the other on the opposite end) must both be covered with siding. The warehouse has two entrances (one shown, the other at the opposite end), which are simply open doorways (x feet wide, y feet high). Only the four outside walls of the building are covered in vinyl siding (costing $N per square yard). Complete the function warehouse, which computes and returns the cost to install the siding. W h Examples: Function Call Return Value warehouse (20, 30, 50, 3, 4, 5, 9) warehouse (10, 15, 25, 2, 3, 1.5, 6) 4276.0 702.0 4193.75 warehouse (13.5, 17.5, 22.5, 4.5, 5.5, 2.0, 30.5) [ ] 1 def warehouse (w, h, d, x, y, r, N): 2 return 0 # DELETE THIS LINE and start coding here. # Remember: end all of your functions with a return statement, not a print sta nt! 4 5 # Test cases 6 print (warehouse (20, 30, 50, 3, 4, 5, 9)), 7 print (warehouse (10, 15, 25, 2, 3, 1.5, 6)) 8 print (warehouse (13.5, 17.5, 22.5, 4.5, 5.5, 2.0, 30.5)) у X
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply