At 11/28/05 09:31 PM, Kaabi wrote:
*******THIS IS A MATH PROBLEM NOT PROGRAMMING*******
Simple stuff..
Machine A produces 1 unit for 5.33333 cents.
Machine B produces 1 unit for 5.5 cents.
Naturally, you want to produce as much steering wheels as possible with Machine A.
Therefore, run Machine A for 8 hours a shift to maximize Machine A usage.
30 * 8 = 240 units
360 - 240 = 120 units left to produce with Machine B.
120 / 40 = 3, or the number of hours you need to run Machine B to meet your minimum quota.
Now that you know the hours you need to run each unit, it's simple!
8(A) + 3(B) = operating costs for 360 units.
Ergo: 8 * 16 + 3 * 22 = 128 + 66 = $194 per shift to produce 360 units.
Happy day.