Two firms, a and b, compete in a market to sell homogeneous products with inverse demand function P = 400 – 2Q where Q = Qa + Qb. Firm a has the cost function Ca = 100 + 15Qa and firm b has the cost function Cb = 100 + 15Qb. Use this information to compare the output levels, price and profits in settings characterized by the following markets:
In: Economics
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
const int QUIZSIZE = 10;
const int LABSIZE = 10;
const int PROJSIZE = 3;
const int EXAMSIZE = 3;
float getAverage(float arr[], int size)
{
float total = 0;
for (int i = 0; i < size; i++)
{
total += arr[i];
}
return total/size;
}
// the following main function do....
int main()
{
ifstream dataIn;
string headingLine;
string firstName, lastName;
float quiz[QUIZSIZE];
float lab[LABSIZE];
float project[PROJSIZE];
float midExam[EXAMSIZE];
float finalExam;
float attendance;
// open the file
dataIn.open("grade120.dat");
//exception for file open
if (dataIn.fail())
{
cout << "File open error!" << endl;
return 0;
}
// read the first two lines
for (int i = 1; i <= 2; i++)
{
getline(dataIn,headingLine);
cout << headingLine << endl;
}
while (!dataIn.eof())
{
//read student's score from the file
dataIn >> firstName;
dataIn >> lastName;
for (int i = 0; i < QUIZSIZE; i++)
{
dataIn >> quiz[i];
}
for (int i = 0; i < LABSIZE; i++)
{
dataIn >> lab[i];
}
for (int i = 0; i < PROJSIZE; i++)
{
dataIn >> project[i];
}
for (int i = 0; i < EXAMSIZE; i++)
{
dataIn >> midExam[i];
}
dataIn >> finalExam;
dataIn >> attendance;
cout << "Average quiz is " << getAverage(quiz,QUIZSIZE)
<< endl;
cout << "Average lab is " << getAverage(lab,LABSIZE)
<< endl;
// call another function to calculate the final greade letter
//write the name + letter to a file
dataIn.close();
return 0;
}
Finish the C++ program below based on
(0 <= F < 60, 60 <= D < 70, 70 <= C< 80, 80 <= B < 90, 90 <= A <= 100)
THE RULES: · You need to have a total grade >=90 and average in projects >= 90 to get an A; · You need to have a total grade >=80 and < 90, and average in projects >=80 to get a B; · You need to have a total grade is >=70 and < 80, and average in projects >=70 to get a C. Poor attendance will be penalized by up to 10% of the final total grade. The grades of all the students and attendance
penalty are stored in an external file called grade120.dat. which will be given
First Last Q0 Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 L0 L1 L2 L3 L4 L5 L6 L7 L8 L9 P0 P1 P2 E0 E1 E2 FI ATT
------------------------------------------------------------------------------------------------------------------------------------------
Kevin Smith 90 100 100 100 98 97 87 100 85 87 89 100 100 100 100 90 100 98 90 100 98 98 98 90 90 98 88 0.00
Morgan Kelly 80 100 65 67 69 71 100 100 100 67 95 85 87 89 100 65 67 69 71 100 98 98 98 65 67 69 71 0.10
Isaac Newton 100 90 100 90 100 90 100 90 100 100 100 100 100 100 100 100 100 100 100 100 98 98 98 90 90 98 88 0.00
Cole Jones 100 100 100 87 73 75 77 79 81 87 89 91 73 75 77 79 81 100 100 100 98 100 65 67 69 71 63 0.05
Angela Allen 100 100 100 87 89 91 93 95 100 100 100 100 100 100 100 95 97 100 98 98 98 90 73 75 77 79 81 0.02
David Cooper 56 58 60 62 64 100 100 100 87 73 75 77 100 100 77 79 81 100 100 100 98 70 72 74 76 78 88 0.00
Nancy Bailey 100 87 89 91 93 95 100 100 100 100 100 100 91 93 95 97 100 98 100 100 98 98 98 90 90 98 88 0.00
Emily Synder 65 67 69 71 62 64 73 75 77 58 60 62 79 66 68 70 72 81 74 76 78 90 90 74 76 98 88 0.00
Lori Austin 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 98 98 98 90 90 98 88 0.02
Jenny Howard 56 58 60 62 71 62 64 73 100 66 68 70 72 74 76 78 100 100 100 60 62 79 66 68 70 68 70 0.03
Anne Lewis 100 86 58 60 100 71 62 64 73 94 66 68 90 72 74 76 78 67 68 69 70 71 98 88 76 78 68 0.04
Nick Johnson 100 100 89 91 73 75 77 79 81 100 100 100 98 100 100 95 85 87 89 100 98 98 98 80 76 78 98 0.01
Nick Spickler 100 93 95 97 100 98 98 98 90 100 89 91 93 95 97 100 100 89 91 93 95 97 98 98 90 90 98 0.00
Joy Williams 75 77 58 60 62 79 66 68 70 72 81 100 100 71 62 64 73 94 66 98 90 90 98 68 90 88 77 0.00
Barbara Hood 100 67 95 85 87 89 91 93 95 97 85 87 100 100 100 71 62 64 73 94 66 68 98 98 90 90 88 0.00
Joe Hoarn 62 63 64 65 66 67 68 69 70 71 100 81 100 100 71 62 64 73 100 100 98 98 64 73 94 66 68 0.08
Payton Bardzell 100 100 100 97 87 67 95 85 87 89 91 93 95 97 100 100 100 95 85 87 89 100 98 90 90 78 98 0.00
Kim Ludwig 71 62 64 73 75 77 58 60 62 79 66 68 70 72 81 100 100 79 66 68 70 72 98 98 90 90 98 0.09
Susan Honks 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 90 90 88 100 100 100 100 0.00
The out put must be
First Name Last Name Final Grade
Nick Johnson A
Anne Lewis B
finish the program please
In: Computer Science
Letter A,B,C,D,E Relative frequencies of
31/100, 18/100, 9/100, 15/100, 27/100 = mutually exclusive
1. Reason why it's a probability distribution?
2. Probability each letter
3. the mean for the above distribution.
4. Standard Deviation
Plz provide all steps TIA
In: Statistics and Probability
Question 18 (3 points)
Which of the following is an example of an "open market operation"?
|
a |
The Federal Reserve sells $100 million worth of Treasury bonds to banks. |
|
b |
The government issues $100 million worth of Treasury bonds to finance its deficit. |
|
c |
Jeff Bezos buys $100 million worth of Treasury bonds for his personal portfolio. |
|
d |
The Treasury prints $100 million worth of currency. |
Question 19 (3 points)
Frank's Fish Fry sells fish fry dinners. Frank's revenue equals the quantity of fish fry dinners he sells times the price he charges for a fish fry dinner.
From last year to this year, his quantity increases by 4% and the price he charges increases by 3%. Frank's revenue increases approximately by
|
a |
4% |
|
b |
3% |
|
c |
7% |
|
d |
1% |
|
e |
12% |
Question 20 (3 points)
Nominal GDP = 600, real GDP = 400, and the nominal money supply equals 200.
Velocity equals
|
a |
3 |
|
b |
2 |
|
c |
600 |
|
d |
800 |
|
e |
400 |
In: Economics
UR Safe Systems installs home security systems. Two of its systems, the ICU 100 and the ICU 900, have these characteristics:
Design SpecificationsICU 100ICU 900Cost DataVideo cameras 3 1 $105/eaVideo monitors 3 3 $45/eaMotion detectors 3 6 $10/eaFloodlights 1 5 $4/eaAlarms 3 2 $10/eaWiring 680ft. 1,080ft.$0.1/ft.Installation 14hr 24hr$10/hr
The ICU 100 sells for $830 installed, and the ICU 900 sells for $1,540 installed.
Required:
1. What are the current profit margin percentages on both systems?
2. UR Safe’s management believes that it must drop the price on
the ICU 100 to $770 and on the ICU 900 to $1,410 to remain
competitive in the market. Recalculate profit margin percentages
for both products at these price levels and then compute the target
cost needed for each product to maintain the current profit margin
percentages.
(For all requirements, round your percentage answers to 2
decimal places and other answers to the nearest whole dollar
amount.)
|
||||||||||||||||||||||||
In: Accounting
Beatriz enjoys writing and uses a large amount of paper. Currently, paper costs $2.00 for 100 sheets. The formula for her demand curve is S=525−50PS, where PS is the price of 100 sheets and S is the number of packages of 100 sheets. The governor of her state has proposed taxing paper at the rate of $1.50 for each 100 sheets. Assume this policy would increase the price of paper to $3.50 (including tax). Draw Beatriz's demand curve. Instructions: Use the tool provided "Demand" to plot Beatriz's demand curve. The x-axis represents S, and the y-axis represents PS. a. Compute the change in her consumer surplus for the proposed tax increase. Instructions: Round your answer to 2 decimal places. Include a negative sign if necessary. $ b. How much revenue will the government raise by taxing Beatriz? Instructions: Enter your answer as a whole number. $ What is the combined change in government revenue and consumer surplus? Instructions: Enter your answer as a whole number. Include a negative sign if necessary. $ Does the new tax raise enough revenue for the government to compensate Beatriz for her loss? Yes No
In: Economics
A person has $250 to spend on two goods (x and y) whose respective prices are $2 per unit and $5 per unit.
3. [National Income Model] 30 points
Let
AE =C+I+G+NX
where AE is the aggregate expenditure, C is the consumption function, I is investment,
G is government expenditure and NX is the net export. Given
C =100+0.65Y
where Y is the national income and
In: Economics
Monopoly pricing: Consider a simple linear demand function that intersects the quantity 0 point at $110 and the $0 axis at 1,200 units. The marginal cost is linear and starts at $10 at 0 quantity and reaches $110 at 500 units.
It is probably easiest to use algebraic representations for the curves, rather than trying to do this graphically. Show your work.
In: Economics
A(n)11.0%,25-year bond has a par value of $1,000 and a call price of$1,050.(The bond's first call date is in 5 years.) Coupon payments are made semiannually (so use semiannual compounding where appropriate).
a. Find the current yield, YTM, and YTC on this issue, given that it is currently being priced in the market at$1,175. Which of these 3 yields is the highest? Which is the lowest? Which yield would you use to value this bond? Explain.
b. Repeat the 3 calculations above, given that the bond is being priced at$825.Now which yield is the highest? Which is the lowest? Which yield would you use to value this bond? Explain
In: Finance
A(n)10.0?%,?25-yearbond has a par value of? $1,000and a call price of ?$1,125. ?(Thebond's first call date is in 5? years.)Coupon payments are made semiannually? (souse semiannual compounding where appropriate).
a. Find the current? yield,YTM, and YTC on this? issue,given that it is currently being priced in the market at $1,250. Which of these 3 yields is the? highest?Which is the? lowest?Which yield would you use to value this? bond?Explain.
b.Repeat the 3 calculations? above,given that the bond is being priced at ?$900. Now which yield is the? highest?Which is the? lowest?Which yield would you use to value this? bond?Explain.
A.If the bond is priced at $1250? the current
yield is -----------?%.?(Roundto two decimal? places.)
The annual? yield-to-maturitywith semiannual compounding is -------?%.?(Roundto two decimal? places.)
The annual? yield-to-callwith semiannual compounding is ----------?%. (Roundto two decimal? places.)
Which of these 3 yields is the? highest?------------Which is the? lowest? ---------
Which yield would you use to value this? bond? ?(Selectthe best answer? below.)
A. The? yield-to-maturityis always used.
B. The? yield-to-maturitybecause convention is to use the lower of? yield-to-maturityor? yield-to-callfor bonds selling at a discount.
C. The? yield-to-maturitybecause the bonds may not be called.
D. It? doesn'tmatter which yield you use.
B. If the bond is priced at $900?,the current yield is---------------?%.?(Roundto two decimal? places.)
The annual? yield-to-maturitywith semiannual compounding is --------------?%.?(Roundto two decimal? places.)
The annual? yield-to-callwith semiannual compounding is ------------?%.?(Roundto two decimal? places.)
Which of these 3 yields is the? highest?Which is the? lowest????(Selectfrom the? drop-downmenus.)
Current yield
Yield-to-maturity
Yield-to-call
Which yield would you use to value this? bond??
?A. It? doesn'tmatter which yield you use.
B. The? yield-to-maturitybecause the bonds may not be called.
C. The? yield-to-maturitybecause convention is to use the lower of? yield-to-maturityor? yield-to-callfor bonds selling at a discount.
D.The? yield-to-maturityis always used.
In: Accounting