Part 1: (Due March 21, 2018 by 8 am) Start by writing a function (with comments) to achieve these: Determine if the matrix A is square. Augment A and b. Find the maximum absolute value in the first column and the row number that this belongs to. Interchange the first row with the row with the maximum first-column-entry. (To achieve this, create a sub-function that interchanges two specified rows for any matrix.) Submit a single m-file with a subfunction that switches rows. Complete project: Reduce the matrix into row-echelon form, using Gaussian elimination with partial pivoting (generalize the steps in Part 1 as they apply to all columns, so that the largest absolute of the values on the active column is used as the pivot.) Program to make all values below the pivot zero. Bring the system into a reduced row echelon form. Obtain x as a column matrix. Submit a single m-file with two subfunctions which switch rows and do row reduction. Label your program lastname_firstinit_ME3430_Project2.m. Use comments on the side of each line to explain the purpose of that line. NOTES ? Some built in functions to use: error, size, abs, max and the usual for, while, if structures. Ask before you use other built-in functions. ? Use for-loops instead of MATLAB vectorization. (Do not use the ":" operator to access matrix locations.) ? Test your function with various square and rectangular matrices. ? Include comments. ? Suppress all displaying of intermediate results other than the error messages that your program generates, such as “Error: the matrix is not square”, and “Error: No unique solution exists”.
In: Economics
python 3
We would like to add cursor-based APIs to the array-backed list API. To this end, we are including a cursor attribute, and two related methods. cursor_set will set the cursor to its argument index, and cursor_insert will insert its argument value into the list at the current cursor position and advance the cursor by 1.
E.g, given an array-backed list l that contains the values [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], running the following code
l.cursor_set(5)
l.cursor_insert('a')
l.cursor_insert('b')
l.cursor_insert('c')
will result in the updated list [0, 1, 2, 3, 4, 'a', 'b', 'c', 5, 6, 7, 8, 9]
When the cursor is set to the length of the list, cursor_insert should behave like append.
Programming rules:
class ArrayList:
def __init__(self):
self.data = []
self.cursor = 0
def append(self, val):
self.data.append(None)
self.data[len(self.data)-1] = val
def cursor_set(self, idx):
self.cursor = idx
def cursor_insert(self, val):
# YOUR CODE HERE
In: Computer Science
6) Based on your findings for a-d above, create the ACTUAL 2018 Income Statement for BRBC using your recommendations.
I need help with the questions 5 and 6
Built Right Bike Company (BRBC) is an established manufacturer of quality bicycles. They manufacture three styles of bicycles.
Bicycle A is a popular racing bicycle primarily sold to dealers in the bicycle racing circuit. Their material is lightweight and durable with detachable joints for easy disassembly and storage. This market has been declining over the past couple years.
Bicycle B is a sturdy leisure bike typically sold to resorts for use by vacationers. This market is stable with regular replacement bikes ordered as well as new resorts and hotel expansions.
Bicycle C is the usual bicycle used by families and children and is the primary bicycle sold by the company outlet store Buy-Right Bike Shop (BRBS).
Budgeted financial Information is provided below.
|
Operating Budget |
||||
|
Standard costs |
Bicycle A |
Bicycle B |
Bicycle C |
Notes |
|
Volume in units |
80,000 |
120,000 |
200,000 |
|
|
Per unit: |
||||
|
Sales price |
$ 150 |
$ 110 |
$ 80 |
|
|
Direct costs: |
||||
|
Materials |
17 |
10 |
7 |
directly related to production volume |
|
Labor |
21 |
16 |
4 |
directly related to production volume |
|
Subtotal |
$ 38 |
$ 26 |
$ 11 |
|
|
Indirect costs: |
||||
|
Supplies |
7 |
2 |
1 |
directly related to production volume |
|
Labor |
10 |
8 |
4 |
1/2 varies with direct labor; the rest is fixed |
|
Supervision |
8 |
3 |
1 |
unrelated to production volume |
|
Energy |
12 |
6 |
4 |
1/2 varies with direct labor; the rest is fixed |
|
Depreciation |
22 |
7 |
5 |
unrelated to production volume |
|
Head office support |
12 |
6 |
3 |
corporate office allocation* |
|
All other |
11 |
2 |
1 |
unrelated to production volume |
|
Subtotal |
82 |
34 |
19 |
|
|
Total product cost |
$ 120 |
$ 60 |
$ 30 |
|
|
Product-line profitability |
$ 30 |
$ 50 |
$ 50 |
|
|
* This category comprises accounting, IT, H/R, legal, and others supporting the production of this bicycles. |
||||
|
Allocations were made using multiple drivers. Corporate office budgets are unrelated to production levels. |
||||
Instructions:
Add two new sheets to your Excel workbook: one for BRBC calculations and one for BRBC Income Statement.
1) Compare using process costing, job costing, or activity-based costing to determine the best costing for BRBC.
2) Calculate the profitability of each product line if the volume increases by 10% each.
3) Calculate the profitability of each product line if the volume decreases by 10% each.
4) Explain the results of 1 & 2 above.
5) Based on this information determine the answers to the following:
a) Should BRBC stop making bicycle A? What is the impact of dropping Bike A from the line of products? Assume the other two product lines will not change in volumes or selling prices.
b) Should the price of Bike C be lowered? Consider the volume sold to sister company BRBS at only $52 per bike, which is eliminated when the corporation financial statements are consolidated. What happens if the price to all others is reduced to $75, and an additional 20,000 bikes were sold at this lower price (not counting the intercompany BRBS sales)
c) Should the company change its advertising focus? What would be the impact of increasing Bike C's volume and decrease in Bike A's volume by 10,000 units each? Disregard units sold to sister company BRBS.
d) Should the price of Bike C be lowered with the change to advertising focus? What is the impact if we lower the price of Bike C to $75 and shift advertising focus more to Bike C, potentially decreasing Bike A volume by 10,000 bikes and increasing Bike C volume by 30,000 bikes.
6) Based on your findings for a-d above, create the ACTUAL 2018 Income Statement for BRBC using your recommendations.
| Activity based costing | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bicycle A | Bicycle B | Bicycle C | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sales Price | 150 | 110 | 80 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Variable cost | (56) | (35) | (16) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Profit | 94 | 75 | 64 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Ranked | 1 | 2 | 3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In: Finance
A home owner has a utility function of U (m) =
√m, where m is income. The home owner is
considering buying flood insurance because they live near a river
that has flooded in the past. If it is a dry year, she will have an
income of $60,000 to spend on other things. If it is a rainy year
and there is a flood, then she has to pay for repairs to her house.
Then her income will only be $20,000 to spend on non-flood costs.
The probability of a flood based on historical data is 4%.
(a) (a) If the home owner can buy insurance for a premium of $0.04
per dollar of coverage, how large of an insurance policy
should the homeowner buy? Set up the expected utility
maximization problem and solve for K, the optimal
insurance policy size.
(b) Now suppose we do not know the cost of the insurance policy.
But you now know that in the event of a flood, that the insurance
policy will pay you 75% of damages. What is the maximum
amount the homeowner would be willing to pay for such an insurance
policy?
(c) Explain in words how to generally calculate expected utility. What information do you need? What terms do you multiply versus add? Be clear in your explanation.
In: Economics
V & T Faces, Inc., would like to open a retail store in Miami. The initial investment to purchase the building is $420,000, and an additional $50,000 in working capital is required. Since this store will be operating for many years, the working capital will not be returned in the near future. V & T Faces expects to remodel the store at the end of 3 years at a cost of $100,000. Annual net cash receipts from daily operations (cash receipts minus cash payments) are expected to be as follows:
Year 1 $80,000
Year 2 $115,000
Year 3 $118,000
Year 4 $140,000
Year 5 $155,000
Year 6 $167,000
Year 7 $175,000
The company’s required rate of return is 13 percent.
Assume management decided to limit the analysis to 7 years.
Questions:
1) What is the weakness of using the payback period method to evaluate long-term investments?
2)Assume the manager of the company wanted to live in Miami and intentionally inflated the projected annual cash receipts so that the proposal would be accepted. The proposal would otherwise have been rejected. Explain how the company’s use of a post audit would help to prevent this type of unethical behavior.
In: Accounting
A cafe specializes in short order meals; and, morning and afternoon snack breaks. It is open from 9:00 am until 4:00 pm. An office manager in a nearby high rise office building offers the owner a contract to provide her 50 employees with afternoon snack breaks for $2.00 each. Each employee would receive a drink and a snack item. The shop has an hourly capacity of 50 customers. The owner estimates that the variable costs of the afternoon breaks would be $1.20 each. Currently the afternoon service, starting at 2:00, is running at only 50 percent capacity, although the morning and noon activities are near capacity. At the present level of operations each meal/snack served is allocated a fixed cost of $0.25.
Required:
a. What nonfinancial factors should be considered by the owner?
b. Given your concerns listed in part a. and quantitative analysis, should the offer be accepted? Why or why not?
Doggie Dinner, Inc., currently manufactures three different types of scientifically balanced dog food. The firm is considering eliminating one of the three products. What factors should be taken into account in making this decision?
Explain the differences between short-run pricing decisions and long-run pricing decisions.
In: Accounting
Variables typically included in a multivariate supply function (other than the price and quantity of the item the supply function represents) are prices of other goods that use similar input resources for production, the number of suppliers, techniques of production, taxes and subsidies, prices of input resources, weather, and expectations. Please answer the following questions about the affect changes in other variables might have on the supply of the item. These changes will either cause supply to increase (shift right) or decrease (shift left). Use either word as applicable, for the short answer.
If the market price of gasoline returns to the near $4.00 per gallon level then demand for gas-gulping large autos is likely to decrease and manufacturers of these autos are likely to _____________ their supply:
A relative increase in the productivity of the technology used to produce the item being considered is likely to _____________________ its supply.
Hailstorms have pelted south central Texas grape vineyards, spoiling acres of grapes. This is likely to ______________ the supply of grapes for Texas wine.
A manufacturer, operating with a fixed production budget, discovers that the cost of input resources is increasing. The manufacturer is likely to ___________________ the quantity of the product produced.
The six-spotted evil weevil has attacked California’s broccoli crops. Their supply of broccoli is thus likely to:
In: Economics
In Year 1, Goodnight Sleep Company began to receive complaints from physicians that patients were experiencing unexpected side effects from the company’s sleep apnea drug. The company took the drug off the Market near the end of Year 1. During Year 2, the company was sued by 800 customers who had a severe allergic reaction to the company’s drug and required hospitalization. At the end of Year 2, the company’s attorneys estimated a 62% chance the company would need to make payments in the range of $2,500 to $7,000 to settle each claim, with all amounts in that range being equally likely. At the end of Year 3, while none of the cases had been resolved, the company’s attorney now estimated an 80% probability the company would be required to make payments in the range of $3,000 to $10,000 to settle each claim with all amounts in that range being equally likely. In Year 400 claims were settled at a total cost of $2.5 million. Based on this experience, the company believes 30% of the remaining cases will be settled at $5,500 each, 50% will be settled for $6,000 each and 20% will be settled for $6,200 each. Required: Prepare the journal entry (in good format) for Years 1 – 4 related to this litigation.
In: Accounting
Assume Jinan University and an American Professor signed a contract for a summer business arrangement. In the contract, the professor promised to teach for the summer in Guangzhou, and in return, Jinan University promised to pay the professor $1 million. In preparation for the arrival of the professor, Jinan paid $20,000 for a fancy Guangzhou apartment for the professor. Jinan also bought $2,000 plane tickets, $500 in weekend tours, and $200 in equipment for the professor.
In addition, Jinan spent $12,000 in advertising, showing possible students that the professor was coming to teach. 500 students saw the advertising. Each paid $20,000 to Jinan to enroll. The students gave up the opportunity to attend a different program in Guangzhou. The other program would have cost each student $30,000.
All of the students fly to Guangzhou, spending $2,500 on airfare. Each also paid $10,000 for excellent apartments near the university. The university was ready to go.
Then the night before classes start, the professor calls and says he decided not to come. In the above story, who can sue whom? What will each party argue in each case? What legal concepts are involved from our class? Discuss how much (if anything) different parties would pay. Explain. Be thorough. Please also be specific.
In: Operations Management
Assume Jinan University and an American Professor signed a contract for a summer business arrangement. In the contract, the professor promised to teach for the summer in Guangzhou, and in return, Jinan University promised to pay the professor $1 million. In preparation for the arrival of the professor, Jinan paid $20,000 for a fancy Guangzhou apartment for the professor. Jinan also bought $2,000 plane tickets, $500 in weekend tours, and $200 in equipment for the professor.
In addition, Jinan spent $12,000 in advertising, showing possible students that the professor was coming to teach. 500 students saw the advertising. Each paid $20,000 to Jinan to enroll. The students gave up the opportunity to attend a different program in Guangzhou. The other program would have cost each student $30,000.
All of the students fly to Guangzhou, spending $2,500 on airfare. Each also paid $10,000 for excellent apartments near the university. The university was ready to go. Then the night before classes start, the professor calls and says he decided not to come.
In the above story, who can sue whom? What will each party argue in each case? What legal concepts are involved from our class? Explain. Be thorough.
Please be specific on bold font questions !!
In: Operations Management