Moved - Question

Utsang

New member
Joined
Jun 2, 2015
Messages
3
Code:
5 CC  :  8.75 cups + 10 eggs
1 PB  :  1.25 cups +  1 egg
============================
TOTAL : 10.00 cups + 11 eggs
5 @ $4 + 1 @ $2 = $22

And you have an egg left for breakfast:rolleyes:

I mean how did u find the 5/where??
 
I mean how did u find the 5/where??

Bad grammar/spelling aside, explaining where why the answer is to make 5 chocolate chip (CC) cookies is easy. The problem asks to maximize the profit. We know that the cookies sell for more money than the peanut butter cookies. Hence, the maximum profit will come when Paul makes the most CC he can.

Paul has 12 eggs. Each CC needs 2 eggs. That means he can make 12/2 = 6 CC. However, the cookies also need flour. Paul has 10 cups of flour and each CC needs 1.75 cups. That means he can make 10/1.75 ~= 5.71... cookies. Since it's impossible (for our purposes) to make a fractional cookie, Paul can only make 5 CC cookies before he runs out of flour.

With 8.75 cups of flour and 10 eggs used for the CC, Paul has 1.25 cups and 2 eggs left over. Again, the flour is the limiting factor. He only has enough flour to make 1 PB cookie. And since the PB cookie needs just 1 egg, there is one egg left over that, as Denis suggested, Paul can eat for breakfast :)
 
I mean how did u find the 5/where??

To start to answer the question, it is a matter of cost per item (in term of available resources) versus profit. For example, considering just one resource; sugar. It takes a cup of sugar to make a 'pony' cotton candy and you get a $5 profit for it. It takes 0.33 cup of sugar to make a 'cloud' cotton candy and you get a $2 profit for it. You have 10 cups of sugar. How many of each should you make for the most profit.

The pony costs 1 cup and you get $5 so the return is $5/cup. The cloud costs 0.33 cups for $2 so you get a return of about $6/cup. Obviously you should make the cloud. Even though you get less money for it, you can make more than enough to make up the difference.

Suppose the cloud cost 0.4 cups of sugar instead. Well the return is then $5/cup for the cloud also. But this is where the second part in maximizing your profit comes in. Using the most of available resources tends to maximize profits. Suppose we made 2 ponies, we would have 3 cups of sugar left and could make 7 clouds with 0.2 cups of sugar left over. The profit would be 2*5+7*2=$24. If instead we had made 3 ponies, we could make 5 clouds with no sugar left over and have a $25 profit. It turns out it is the same profit if you make an odd number of ponies and thus are able to use all of the sugar.

This whole subject starts off with the study of linear programing and you can read more about it at
http://en.wikipedia.org/wiki/Linear_programming
 
Top