Question: Problem 3 . 9 ( Change making problem ) : Dani Hofmann, who is working at a local retail store, is always busy making changes
Problem Change making problem: Dani Hofmann, who is working at a local retail store, is always busy making changes with coins daily. Naturally, he is interested in the average number of coins required that can make any change from to cents.
Suppose that there are cent, cent, cent, cent, cent, and cent pieces. Let us assume that the probability of a transaction resulting in value has a uniform distribution over You may use any spreadsheet software or write your own script to answer the following questions. points
a If he always picks the largest denomination of coin first, find the average number of coins in a transaction.
b If he uses the most efficient dynamic programming method, what is the average number of coins in a transaction?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
