Question

Use MatLab to solve : For product [A, B, C, D, E, F] Given matrix Price...

Use MatLab to solve : For product [A, B, C, D, E, F] Given matrix Price = [ 10, 20, 15, 27, 30, 25] Quantity = [100, 50, 75, 40, 80, 75] 1. Find total income from each product 2. Find total income generated from all Sales

Homework Answers

Answer #1
Product = ["A", "B", "C", "D", "E", "F"];
Price = [ 10, 20, 15, 27, 30, 25]
Quantity = [100, 50, 75, 40, 80, 75];

% total income from each product 
for i=1:length(Price)
    fprintf("Total income of product %s is %f\n",Product(i),(Price(i)*Quantity(i)));
end

% total income generated from all Sales
total = 0;
for i=1:length(Price)
    total = total + Price(i)*Quantity(i);
end
fprintf("Total income generated from all Sales = %f\n",total);

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Use MatLab to solve Given matrix Price = [ 10, 20, 15, 27, 30, 25]                      ...
Use MatLab to solve Given matrix Price = [ 10, 20, 15, 27, 30, 25]                       Quantity = [100, 50, 75, 40, 80, 75] Question: 1. find the average price                  2. find how many items are sold above the average price                  3. Find the total income from transaction whose price is above the average price found in (1) above                  3. find total income from transactions whose price is above the average price
below are the demand and supply schedule for hats.plot both in the graph find the equilibrium...
below are the demand and supply schedule for hats.plot both in the graph find the equilibrium price and quantity. calculate the demand and supply equation.show your work. price quantity demanded quantity supplied $3            225                              0 $6            200                              20 $9            175                              40 $12          150                              60 $15           125                             80 $18            100                           100 $21             75                             120 $24              50                            140 $27               25                           160
XYZ company produces and sells five products: A, B, C, D and E. The following data...
XYZ company produces and sells five products: A, B, C, D and E. The following data relate to its five products A B C D E Monthly demand in units 80 60 40 90 50 Selling price per unit $230 $70 $100 $80 $90 Variable costs per unit $110 $37 $64 $44 $ 27 Total fixed costs $100,000 Labor time in hours per unit 1.2 0.3 0.6 0.4 0.9 There are a total of 201 labor hours available per month...
Assume that the following table represents the demand schedule of the product of your company. Price...
Assume that the following table represents the demand schedule of the product of your company. Price ZAR 0 10 20 30 40 50 60 70 80 Quantity demanded 160 140 120 100 80 60 40 20 0 Total revenue Complete the table by completing the revenue figures. If you were the business owner of the company above, at what price the quantity would you operate your business. Explain why.
1. Find the Nash Equilibria of the following games. (Some may have more than one!) Player...
1. Find the Nash Equilibria of the following games. (Some may have more than one!) Player 2 D E F Player 1 A 30 , 30 20 , 0 0 , 10 B - 60 , 60 50 , 50 10 , 10 C 10 , 80 25 , 30 60 , 90 Player 2 E F G H Player 1 A 20 , 20 -5 , -5 15 , 90 15 , 15 B 5 , 70 30 ,...
The cost of capital is 15%. Cash flows associated with projects A,B,C,D,E are: CF0 CF1 CF2...
The cost of capital is 15%. Cash flows associated with projects A,B,C,D,E are: CF0 CF1 CF2 CF3 A -100 30 150 70 B -66 30 50 60 C -33 40 20 40 D -66 60 50 30 E -50 60 50 20 What will be the total NPV of the projects that you end up undertaking if you have 100 of cash to invest? Please round your answer to the second decimal.
The cost of capital is 15%. Cash flows associated with projects A,B,C,D,E are: CF0 CF1 CF2...
The cost of capital is 15%. Cash flows associated with projects A,B,C,D,E are: CF0 CF1 CF2 CF3 A -100 30 150 70 B -66 30 50 60 C -33 40 20 40 D -66 60 50 30 E -50 60 50 20 Which projects would you undertake if you have 100 of cash to invest? Question 7 options: A B C D E
The demand for a product is given by p = d ( q ) = −...
The demand for a product is given by p = d ( q ) = − 0.8 q + 150 and the supply for the same product is given by p = s ( q ) = 5.2 q. For both functions, q is the quantity and p is the price in dollars. Suppose the price is set artificially at $70 (which is below the equilibrium price). a) Find the quantity supplied and the quantity demanded at this price. b)...
3) The demand for a product is given by p = d ( q ) =...
3) The demand for a product is given by p = d ( q ) = − 0.8 q + 150 and the supply for the same product is given by p = s ( q ) = 5.2 q. For both functions, q is the quantity and p is the price in dollars. Suppose the price is set artificially at $70 (which is below the equilibrium price). a) Find the quantity supplied and the quantity demanded at this price....
Quantity Quantity Quantity Quantity Price per Demanded Supplied Demanded Supplied TV in United States in United...
Quantity Quantity Quantity Quantity Price per Demanded Supplied Demanded Supplied TV in United States in United States in Japan in Japan (dollars) (thousands) (thousands) (thousands) (thousands) 200 100 10 100   25 300   85 20   85   50 400   75 35   70   70 450   65 45   65   85 500   50 50   50   90 550   40 60   40 100 600   30 70   30 110 650   20 80   20 120 Table 18-4 presents the demand and supply schedules for television sets in Japan and...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT