1)here let x1,x2 and x3 are number of apples,bananas and oranges
therefore x1+x2+x3 =10
number of non-negative solution of above =
=
=12!/(2!*10!)=66
2)
here as at least one item to be distributed in each category; therefore
x1+x2+x3 =10-3=7
number of non-negative solution of above =
=
=9!/(2!*9!)=36
Suppose you are shopping for fruit at the grocery store. There are apples, bananas and oranges....
Suppose there are only two goods in the economy, apples and oranges and the market that composes CPI is 4 apples 2 oranges. Assume that 2011 is the base year. 2011 2012 P apple 1 1.03 P Orange 1 1.09 Question? Consider an individual who receives a fixed income from the government. Suppose this person receives 24$ and uses it to buy 16 apples and 8 oranges. Suppose their income is indexed to the CPI. How much will they receive...
Suppose you have 3 bags containing only apples and oranges. Bag A has 2 apples and 4 oranges, bag B has 8 apples and 4 oranges, and bag C has 1 apple and 3 oranges. You pick 1 fruit (at random) from each bag. a) What is the probability that you picked exactly 2 apples? b) Suppose you picked 2 apples but forgot which bag they came from. What is the probability that you picked an apple from bag A?
If you could afford exactly 6 apples and 14 bananas, or 10 apples and 6 bananas, then if (2) you spent all of your income on bananas, how many bananas could you buy?
3.1 Suppose a person has $10.00 to spend only on apples and bananas. Apples cost $.50 each, and bananas cost $.20 each. (a) If this person buys only apples, how many can be bought? (b) If this person buys only bananas, how many can be bought? (c) If the person were to buy 20 bananas, how many apples could be bought with the funds left over? (d) Write down the algebraic equation for this person’s budget constraint, and graph it...
5. (30 points) Ashley splits her income of $30 between apples and bananas. She has a utility function of U(A, B) AB (that is, A times B). Each apple costs $3 and each banana also costs $3. She chooses the optimal bundle of apples and bananas to maximize her utility (o) (10 pointo) () How many apples does she consume? (1) How many bananas does she consume? (i) What is the total utility from the optimal affordable choice?
Find the number of ways to obtain selections. A bag contains 6 apples and 4 oranges. If you select 5 pieces of fruit without looking, how many ways can you get 5 apples?
5. Assume that the economy of Fruitland can produce two goods, apples (A) and bananas (B). The production of one apple requires one unit of labor (L) and two units of capital (K). One banana requires two units of labor and one unit of capital. Fruitland is endowed with 600 units of labor and 600 units of capital. a. Draw the production possibilities frontier (curve) for Fruitland. Put apples (A) on the vertical axis. (HINT: For every 20 apples, determine...
IN PYTHON You are building a program for a Point of Sale (POS) machine for a fruit store. The inventory and price list are stored in a file (i.e. items.txt) with an example as follows: banana 3 1.25 apple 6 1.75 orange 32 0.5 pear 55 2.5 For illustration, the first line implies that "There are 3 bananas in the inventory and the price of a banana is $1.25" You have to write four functions: 1. The first function readstockprice...
Suppose we want to fill a bag with 10 piece of fruit from 4 possible fruits: apples, pears, oranges, and lemons. How many ways are there to fill this bag with 10 pieces of fruit if we have the constraint that there are either oranges or lemons in the bag but never both? Ex: there may be oranges or lemons or neither of them but never both.
Say I have 5 apple, 6 bananas, 7 oranges, and 8 peaches. I want to put them all in a single row and I care about the order of the oranges and peaches. How many ways can I arrange the single row with this criteria?