Unbiased Expectations Theory Suppose that the current one-year
rate (oneyear spot rate) and expected one-year T-bill rates over
the following three years (i.e.,
years 2, 3, and 4, respectively) are as follows:
1R1=7%, E(2r1) =9%, E(3r1) =6.0% E(4r1)=4%
Using the unbiased expectations theory, calculate the current
(long-term) rates for
one-, two-, three-, and four-year-maturity Treasury securities.
Show your answers in
percentage form to 3 decimal places.
Note that:
Rate for a two year security
= [(1 + 1R1)(1 + E(2r1))] 1/2 - 1
Rate for a three year security
= [(1 + 1R1)(1 + E(2r1))(1 + E(3r1))] 1/3 - 1
Rate for a four year security
= [(1 + 1R1)(1 + E(2r1))(1 + E(3r1))(1 + E(4r1))] 1/4 - 1
In: Finance
In the Python:
Note 1: You may not use these python built-in functions:
sorted(), min(), max(), sum(), pow(), zip(), map(), append(), count() and counter().
(7 points) unique.py: A number in a list is unique if it appears only once. Given a list of
random numbers, print the unique numbers and their count. Print the duplicate numbers and
their count.
Sample runs:
Enter the size of the list : 7
[8, 2, 6, 5, 2, 4, 5]
There are 3 unique numbers: 8 6 4
There are 2 duplicate numbers: 2 5
Sample run:
Enter the size of the list : 7
[2, 2, 4, 3, 3, 3, 4]
There are 0 unique numbers:
There are 3 duplicate numbers: 2 3 4
In: Computer Science
Ch 4 Program 3 – Geometry Calculator
Please adhere to the Standards for Programming Assignments and the Java Coding Guideline.
:
GeometryCalculator.java (15 pts)
Write a program that displays the following menu:
Prompt the user to enter a menu choice.
Then based on the user’s choice use a switch statement to do the following:
submit GeometryCalculator.java on Canvas.
Input validation:
Hint:
Do not try to write the entire program in one go. It is much easier to write a small piece and test it, then write another small piece and test it. For example, start by writing just a skeleton with input and output. Then add the code to do the normal computation, without any data validation. Then add each additional data validation rule, one at a time. You should test your program with simple test inputs to check that you handle each case. Good luck!
Test data: Your included output must show your program running with the following sequence.
Test Menu choice 1. Radius = 3.7 then
Menu choice 2. length = 5.5, width = 3.
Menu choice 4. Radius = 3.5, height = 8.
Menu choice 9. Should generate an error message.
Menu choice 3. base = -6.2, height = 4.Should generate an error message
Menu choice 5. Quit the program.
Example output:
***Geometry Calculator***
1. Calculate the area of a Circle
2. Calculate the area of a Rectangle
3. Calculate the area of a Triangle
4. Calculate the volume of a cylinder
5. Quit
Enter your choice (1-5): 1
Enter the circle's radius: 3.7
The area is 43.0084
Thanks for using the Geometry Calculator!
***Geometry Calculator***
1. Calculate the area of a Circle
2. Calculate the area of a Rectangle
3. Calculate the area of a Triangle
4. Calculate the volume of a cylinder
5. Quit
Enter your choice (1-5): 2
Enter the rectangle's length: 5.5
Enter the rectangle's width: 3
The area is 16.5
Thanks for using the Geometry Calculator!
---------------------------------------------------------------------
***Geometry Calculator***
1. Calculate the area of a Circle
2. Calculate the area of a Rectangle
3. Calculate the area of a Triangle
4. Calculate the volume of a cylinder
5. Quit
Enter your choice (1-5): 4
Enter the cylinder's radius: 3.5
Enter the cylinder’s height: 8
The volume is 307.8760
Thanks for using the Geometry Calculator!
------------------------------------------------------------------------
***Geometry Calculator***
1. Calculate the area of a Circle
2. Calculate the area of a Rectangle
3. Calculate the area of a Triangle
4. Calculate the volume of a cylinder
5. Quit
Enter your choice (1-5): 9
You may only enter 1, 2, 3, 4 or 5.
Thanks for using the Geometry Calculator!
-------------------------------------------------------------------------
***Geometry Calculator***
1. Calculate the area of a Circle
2. Calculate the area of a Rectangle
3. Calculate the area of a Triangle
4. Calculate the volume of a cylinder
5. Quit
Enter your choice (1-5): 3
Enter the length of the base: -6.2
Enter the triangle's height: 4
Only positive values are accepted for the base.
Thanks for using the Geometry Calculator!
-------------------------------------------------------------------------
***Geometry Calculator***
1. Calculate the area of a Circle
2. Calculate the area of a Rectangle
3. Calculate the area of a Triangle
4. Calculate the volume of a cylinder
5. Quit
Enter your choice (1-5): 5 Quitting program now.
Thanks for using the Geometry Calculator!
In: Computer Science
Read the following code:
x = 1
while(x < 26)
print(x)
x = x + 1
There is an error in the while loop. What should be fixed?
Add a colon to the end of the statement Begin the statement with the keyword count Change the parentheses around the test condition to quotation marks Use quotation marks around the relational operator
Question 2(Multiple Choice Worth 5 points)
(03.03 LC)
Python uses __________ to determine whether the condition of a
while loop is true or false.
algebra artificial intelligence Boolean logic input
Question 3(Multiple Choice Worth 5 points)
(03.03 LC)
What is the proper syntax for writing a while loop in Python?
Begin the statement with the keyword repeat End the statement with a semicolon Place the test condition outside of parentheses Use relational operators to indicate test conditions
Question 4(Multiple Choice Worth 5 points)
(03.03 LC)
What is the purpose of using a while loop in Python?
To repeat an action when the condition is false To repeat an action when the exact number of repetitions is known To repeat an action when the exact number of repetitions is unknown To repeat an action when the condition is not stated
Question 5(Multiple Choice Worth 5 points)
(03.03 MC)
Read the following code:
n = 2
while(n < 5):
print(n)
n = n + 1
What output would be produced for the given values of n?
0 1 2 3 4 1 2 3 4 5 2 3 4 2 3 4 5
In: Computer Science
24. Cournot duopolists face a market demand curve given by P = 90 - Q where Q is total market demand. Each firm can produce output at a constant marginal cost of 30 per unit. There are no fixed costs. Determine the (1) equilibrium price, (2) quantity, and (3) economic profits for the total market, (4) the consumer surplus, and (5) dead weight loss.
25. If the duopolists in question 24 behave according to the Stackelberg Leader-Follower model, determine the (1) equilibrium price, (2) quantity, and (3) economic profits for the total market and (4) the consumer surplus, and (5) dead weight loss.
26. If the duopolists in question 24 behave, instead, according to the Bertrand model, determine the (1) equilibrium price, (2) quantity, and (3) economic profits for the total market and (4) the consumer surplus, and (5) dead weight loss.
27. If the duopolists in question 24 behave as a shared monopoly, determine the (1) equilibrium price, (2) quantity, and (3) economic profits for the total market and (4) the consumer surplus, and (5) dead weight loss.
In: Economics
3. In each of the rate laws given below, determine the overall reaction order.
A) rate = k[A]2[B]0
B) rate = k[A]2[B]-1
C) rate = k[A]1[B]3
D) rate = k[A]3[B]-1
E) rate = k[A]3[B]0
4. Consider the following equation with the rate law:
C + D→F + G Rate law = k[C]2[D]1/2
Evaluate each of the following statements as TRUE or FALSE. Show work for each!
A) If the concentration of D is increased by a factor of 4, then the reaction rate will double.
B) If the concentration of C is doubled and the concentration of D is tripled, then the reaction rate will increase by a factor of 6.9.
C) If the concentration of C is increased by a factor of 3 and the concentration of D is decreased by a factor of 4, then the reaction rate will increase by a factor of 4.5.
D) If the concentrations of C and D are doubled, then the reaction rate will triple.
E) If the concentration of C is increased by a factor of 4, then the reaction rate will increase by a factor of 16.
In: Chemistry
Which of the following are steps in the process of determining which elements are present in stars? (Select all that apply.)
|
Plot the spectra of stars and measure the wavelengths at which absorption lines occur. |
||
|
Collect a sample of gas from a star. |
||
|
Match features in the spectra to known atomic lines of different elements. |
||
|
Identify the wavelength with the maximum intensity in the star's spectrum. |
Which of the following statements best completes the sentence:
"When an atom absorbs a photon..."
|
...the photon will be stored in one of the electron's energy levels. |
||
|
...an electron in that atom will move to a higher energy level. |
||
|
...an electron in that atom will move to a lower energy level. |
||
|
...the photon will produce an emission spectrum. |
Consider the following types of light. A photon of each type will carry a different amount of energy. Rank the answer choices from most energetic (top) to least energetic (bottom).
It may be helpful to refer to the electromagnetic spectrum: Link to electromagnetic spectrum.
- 1. 2. 3. 4.X-ray
Visible Light
Infrared
Microwaves
In: Physics
Problem 5-55 Activity-Based Costing (LO 5-1, 5-2, 5-4, 5-5)
Manchester Technology, Inc. manufactures several different types of printed circuit boards; however, two of the boards account for the majority of the company’s sales. The first of these boards, a television circuit board, has been a standard in the industry for several years. The market for this type of board is competitive and price-sensitive. Manchester plans to sell 73,000 of the TV boards in 20x1 at a price of $470 per unit. The second high-volume product, a personal computer circuit board, is a recent addition to Manchester’s product line. Because the PC board incorporates the latest technology, it can be sold at a premium price. The 20x1 plans include the sale of 48,000 PC boards at $860 per unit.
Manchester’s management group is meeting to discuss how to spend the sales and promotion dollars for 20x1. The sales manager believes that the market share for the TV board could be expanded by concentrating Manchester’s promotional efforts in this area. In response to this suggestion, the production manager said, “Why don’t you go after a bigger market for the PC board? The cost sheets that I get show that the contribution from a PC board is significantly larger than the contribution from a TV board. I know we get a premium price for the PC board. Selling it should help overall profitability.”
The cost-accounting system shows that the following costs apply to the PC and TV boards.
| PC Board | TV Board | |||||
| Direct material | $ | 227 | $ | 147 | ||
| Direct labor | 3.0 | hr. | 1.5 | hr. | ||
| Machine time | 1.5 | hr. | 1.5 | hr. | ||
Variable manufacturing overhead is applied on the basis of direct-labor hours. For 20x1, variable overhead is budgeted at $2,360,000, and direct-labor hours are estimated at 266,175. The hourly rates for machine time and direct labor are $36 and $44, respectively. The company applies a material-handling charge at 10 percent of material cost. This material-handling charge is not included in variable manufacturing overhead. Total 20x1 expenditures for direct material are budgeted at $21,627,000.
Andrew Fulton, Manchester’s controller, believes that before the management group proceeds with the discussion about allocating sales and promotional dollars to individual products, it might be worthwhile to look at these products on the basis of the activities involved in their production. Fulton has prepared the following schedule to help the management group understand this concept.
“Using this information,” Fulton explained, “we can calculate an activity-based cost for each TV board and each PC board and then compare it to the standard cost we have been using. The only cost that remains the same for both cost methods is the cost of direct material. The cost drivers will replace the direct labor, machine time, and overhead costs in the old standard cost figures.”
| Budgeted Cost | Cost Driver | Budgeted Annual Activity for Cost Driver | |||||
| Procurement | $ | 880,000 | Number of parts | 6,184,500 | parts | ||
| Production scheduling | 480,000 | Number of boards | 127,050 | boards | |||
| Packaging and shipping | 960,000 | Number of boards | 127,050 | boards | |||
| Total | $ | 2,320,000 | |||||
| Machine setup | $ | 924,000 | Number of setups | 304,500 | setups | ||
| Hazardous waste disposal | 112,000 | Pounds of waste | 24,759 | pounds | |||
| Quality control | 1,168,000 | Number of inspections | 431,550 | inspections | |||
| General supplies | 156,000 | Number of boards | 127,050 | boards | |||
| Total | $ | 2,360,000 | |||||
| Machine insertion | $ | 2,800,000 | Number of parts | 4,425,000 | parts | ||
| Manual insertion | 8,800,000 | Number of parts | 1,659,000 | parts | |||
| Wave-soldering | 304,000 | Number of boards | 127,050 | boards | |||
| Total | $ | 11,904,000 | |||||
| Required per Unit | PC Board | TV Board | ||||
| Parts: | 71 | 34 | ||||
| Machine insertions | 44 | 33 | ||||
| Manual insertions | 27 | 1 | ||||
| Machine setups | 3 | 2 | ||||
| Hazardous waste disposal, in lb. | .40 | .06 | ||||
| Inspections | 4 | 3 | ||||
Required:
1. Identify at least four general advantages associated with activity-based costing.
2. On the basis of Manchester’s unit cost data given in the problem, calculate the total amount that each of the two product lines will contribute toward covering fixed costs and profit in 20x1.
3. Using activity-based costing, calculate the total amount that each of the two product lines will contribute toward covering fixed costs and profit in 20x1.
In: Accounting
Problem 5-55 Activity-Based Costing (LO 5-1, 5-2, 5-4, 5-5)
Manchester Technology, Inc. manufactures several different types of printed circuit boards; however, two of the boards account for the majority of the company’s sales. The first of these boards, a television circuit board, has been a standard in the industry for several years. The market for this type of board is competitive and price-sensitive. Manchester plans to sell 80,000 of the TV boards in 20x1 at a price of $460 per unit. The second high-volume product, a personal computer circuit board, is a recent addition to Manchester’s product line. Because the PC board incorporates the latest technology, it can be sold at a premium price. The 20x1 plans include the sale of 55,000 PC boards at $775 per unit.
Manchester’s management group is meeting to discuss how to spend the sales and promotion dollars for 20x1. The sales manager believes that the market share for the TV board could be expanded by concentrating Manchester’s promotional efforts in this area. In response to this suggestion, the production manager said, “Why don’t you go after a bigger market for the PC board? The cost sheets that I get show that the contribution from a PC board is significantly larger than the contribution from a TV board. I know we get a premium price for the PC board. Selling it should help overall profitability.”
The cost-accounting system shows that the following costs apply to the PC and TV boards.
| PC Board | TV Board | |||||
| Direct material | $ | 244 | $ | 154 | ||
| Direct labor | 3.0 | hr. | 2.0 | hr. | ||
| Machine time | 1.0 | hr. | 0.5 | hr. | ||
Variable manufacturing overhead is applied on the basis of direct-labor hours. For 20x1, variable overhead is budgeted at $2,465,000, and direct-labor hours are estimated at 357,500. The hourly rates for machine time and direct labor are $28 and $36, respectively. The company applies a material-handling charge at 10 percent of material cost. This material-handling charge is not included in variable manufacturing overhead. Total 20x1 expenditures for direct material are budgeted at $25,740,000.
Andrew Fulton, Manchester’s controller, believes that before the management group proceeds with the discussion about allocating sales and promotional dollars to individual products, it might be worthwhile to look at these products on the basis of the activities involved in their production. Fulton has prepared the following schedule to help the management group understand this concept.
“Using this information,” Fulton explained, “we can calculate an activity-based cost for each TV board and each PC board and then compare it to the standard cost we have been using. The only cost that remains the same for both cost methods is the cost of direct material. The cost drivers will replace the direct labor, machine time, and overhead costs in the old standard cost figures.”
| Budgeted Cost | Cost Driver | Budgeted Annual Activity for Cost Driver | |||||
| Procurement | $ | 950,000 | Number of parts | 8,750,500 | parts | ||
| Production scheduling | 515,000 | Number of boards | 148,500 | boards | |||
| Packaging and shipping | 1,030,000 | Number of boards | 148,500 | boards | |||
| Total | $ | 2,495,000 | |||||
| Machine setup | $ | 952,000 | Number of setups | 803,000 | setups | ||
| Hazardous waste disposal | 126,000 | Pounds of waste | 30,360 | pounds | |||
| Quality control | 1,210,000 | Number of inspections | 209,000 | inspections | |||
| General supplies | 177,000 | Number of boards | 148,500 | boards | |||
| Total | $ | 2,465,000 | |||||
| Machine insertion | $ | 3,150,000 | Number of parts | 5,878,000 | parts | ||
| Manual insertion | 9,500,000 | Number of parts | 2,364,000 | parts | |||
| Wave-soldering | 339,000 | Number of boards | 148,500 | boards | |||
| Total | $ | 12,989,000 | |||||
| Required per Unit | PC Board | TV Board | ||||
| Parts: | 85 | 41 | ||||
| Machine insertions | 51 | 40 | ||||
| Manual insertions | 34 | 1 | ||||
| Machine setups | 6 | 5 | ||||
| Hazardous waste disposal, in lb. | .40 | .07 | ||||
| Inspections | 2 | 1 | ||||
Required:
1. Identify at least four general advantages associated with activity-based costing.
2. On the basis of Manchester’s unit cost data given in the problem, calculate the total amount that each of the two product lines will contribute toward covering fixed costs and profit in 20x1.
3. Using activity-based costing, calculate the total amount that each of the two product lines will contribute toward covering fixed costs and profit in 20x1.
In: Accounting
Problem 10B-6 Transaction Analysis; Income Statement Preparation [LO10-1, LO10-2, LO10-3, LO10-4, LO10-5] Phoenix Company manufactures only one product and uses a standard cost system. The company uses a plantwide predetermined overhead rate that relies on direct labor-hours as the allocation base. The predetermined overhead rate is based on a cost formula that estimated $2,880,000 of fixed and variable manufacturing overhead for an estimated allocation base of 240,000 direct labor-hours. Phoenix does not maintain any beginning or ending work in process inventory. The company’s beginning balance sheet is as follows: Phoenix Company Balance Sheet 1/1/XX (dollars in thousands) Assets Cash $ 1,200 Raw materials inventory 300 Finished goods inventory 540 All other assets 12,000 Total assets $ 14,040 Liabilities and Equity Retained earnings $ 14,040 Total liabilities and equity $ 14,040 The company’s standard cost card for its only product is as follows: Inputs (1) Standard Quantity or Hours (2) Standard Price or Rate Standard Cost (1) × (2) Direct materials 3 pounds $ 25.00 per pound $ 75.00 Direct labor 2.00 hours $ 16.00 per hour 32.00 Variable manufacturing overhead 2.00 hours $ 2.00 per hour 4.00 Fixed manufacturing overhead 2.00 hours $ 10.00 per hour 20.00 Total standard cost per unit $ 131.00 During the year Phoenix completed the following transactions: Purchased (with cash) 460,000 pounds of raw material at a price of $26.50 per pound. Added 430,000 pounds of raw material to work in process to produce 125,000 units. Assigned direct labor costs to work in process. The direct laborers (who were paid in cash) worked 265,000 hours at an average cost of $15.00 per hour to manufacture 125,000 units. Applied variable manufacturing overhead to work in process inventory using the variable portion of the predetermined overhead rate multiplied by the number of direct labor-hours allowed to manufacture 125,000 units. Actual variable manufacturing overhead costs for the year (all paid in cash) were $480,000. Applied fixed manufacturing overhead to work in process inventory using the fixed portion of the predetermined overhead rate multiplied by the number of direct labor-hours allowed to manufacture 125,000 units. Actual fixed manufacturing overhead costs for the year were $2,450,000. Of this total, $1,300,000 related to items such as insurance, utilities, and salaried indirect laborers that were all paid in cash and $1,150,000 related to depreciation of equipment. Transferred 125,000 units from work in process to finished goods. Sold (for cash) 123,000 units to customers at a price of $175 per unit. Transferred the standard cost associated with the 123,000 units sold from finished goods to cost of goods sold. Paid $3,300,000 of selling and administrative expenses. Closed all standard cost variances to cost of goods sold. Required: 1. Compute all direct materials, direct labor, variable overhead, and fixed overhead variances for the year. 2. Record transactions a through j for Phoenix Company. 3. Compute the ending balances for Phoenix Company’s balance sheet. 4. Prepare Phoenix Company’s income statement for the year.
In: Accounting