O’Brien Company manufactures and sells one product. The following information pertains to each of the company’s first three years of operations:
| Variable costs per unit: | ||
| Manufacturing: | ||
| Direct materials | $ | 28 |
| Direct labor | $ | 15 |
| Variable manufacturing overhead | $ | 4 |
| Variable selling and administrative | $ | 3 |
| Fixed costs per year: | ||
| Fixed manufacturing overhead | $ | 570,000 |
| Fixed selling and administrative expenses | $ | 110,000 |
During its first year of operations, O’Brien produced 91,000 units and sold 71,000 units. During its second year of operations, it produced 76,000 units and sold 91,000 units. In its third year, O’Brien produced 88,000 units and sold 83,000 units. The selling price of the company’s product is $79 per unit.
4. Assume the company uses absorption costing and a LIFO inventory flow assumption (LIFO means last-in first-out. In other words, it assumes that the newest units in inventory are sold first):
a. Compute the unit product cost for Year 1, Year 2, and Year 3.
b. Prepare an income statement for Year 1, Year 2, and Year 3.
|
|
|||||||||||||||||||||||||||||||||
In: Accounting
O’Brien Company manufactures and sells one product. The following information pertains to each of the company’s first three years of operations:
|
Variable costs per unit: |
|
|
Manufacturing: |
|
|
Direct materials |
$29 |
|
Direct labor |
$16 |
|
Variable manufacturing overhead |
$6 |
|
Variable selling and administrative |
$2 |
|
Fixed costs per year: |
|
|
Fixed manufacturing overhead |
$580,000 |
|
Fixed selling and administrative expenses |
$180,000 |
During its first year of operations, O’Brien produced 98,000 units and sold 76,000 units. During its second year of operations, it produced 76,000 units and sold 93,000 units. In its third year, O’Brien produced 86,000 units and sold 81,000 units. The selling price of the company’s product is $78 per unit.
2. Assume the company uses variable costing and a LIFO inventory flow assumption (LIFO means last-in first-out. In other words, it assumes that the newest units in inventory are sold first):
Compute the unit product cost for Year 1, Year 2, and Year 3.
|
b. Prepare an income statement for Year 1, Year 2, and Year 3.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In: Accounting
O’Brien Company manufactures and sells one product. The following information pertains to each of the company’s first three years of operations:
|
Variable costs per unit: |
|
|
Manufacturing: |
|
|
Direct materials |
$29 |
|
Direct labor |
$16 |
|
Variable manufacturing overhead |
$6 |
|
Variable selling and administrative |
$2 |
|
Fixed costs per year: |
|
|
Fixed manufacturing overhead |
$580,000 |
|
Fixed selling and administrative expenses |
$180,000 |
During its first year of operations, O’Brien produced 98,000 units and sold 76,000 units. During its second year of operations, it produced 76,000 units and sold 93,000 units. In its third year, O’Brien produced 86,000 units and sold 81,000 units. The selling price of the company’s product is $78 per unit.
4. Assume the company uses absorption costing and a LIFO inventory flow assumption (LIFO means last-in first-out. In other words, it assumes that the newest units in inventory are sold first):
a. Compute the unit product cost for Year 1, Year 2, and Year 3. (Round your intermediate calculations and final answers to 2 decimal places.)
|
b. Prepare an income statement for Year 1, Year 2, and Year 3. (Round your intermediate calculations to 2 decimal places.)
|
|||||||||||||||||||||||||||||||||
In: Accounting
Refer to the information in the table that follows to answer the question that follows: (Difficult Question)
| Output (Income) Y |
Net Taxes T |
Consumption Spending (C = 100 + 0.9Yd) |
Savings S |
Planned Investment I |
Government Spending G |
|---|---|---|---|---|---|
| 2400 | 100 | 2170 | 130 | 130 | 200 |
| 2800 | 100 | 2530 | 170 | 130 | 200 |
| 3000 | 100 | 2710 | 190 | 130 | 200 |
| 3200 | 100 | 2890 | 210 | 130 | 200 |
| 3400 | 100 | 3070 | 230 | 130 | 200 |
| 3600 | 100 | 3250 | 250 | 130 | 200 |
| 3800 | 100 | 3430 | 270 | 130 | 200 |
If taxes are reduced from 100 to 25, then calculate the CHANGE in the equilibrium level of income?
Select one:
a. -1800
b. 75
c. 450
d. 675
In: Economics
On January 2, 2018, Athol Company bought a machine for use in operations. The machine has an estimated useful life of eight years and an estimated residual value of $1,500. The company provided the following information:
January 2:
January 15: Paid the balance of the invoice price in cash.
April 16: Paid the note payable and interest in cash.
1. Compute the acquisition cost of the machine.
2. Prepare the journal entries to record the purchase of the machine and subsequent cash payments on January 15 and April 16, 2018. (Do not round intermediate calculations and round your final answers to the nearest dollar amount. If no entry is required for a transaction/event, select "No journal entry required" in the first account field.)
January 2, 2018: Record purchase of machine by issuing shares, signing a note and the balance on account.
January 2, 2018: Record payment of machine installation costs.
January 15, 2018: Record payment made after discount period.
April 16, 2018: Record payment of note and interest
3. Compute the depreciation expense for each of the years 2018, 2019, and 2020, assuming the company’s fiscal year ends on December 31. Use the straight-line depreciation method. (Do not round intermediate calculations and round your final answers to the nearest dollar amount.)
4. Prepare the journal entry to record the sale of the machine on October 1, 2025. (Hint: First determine the balance of the accumulated depreciation account on that date.) (Do not round intermediate calculations and round your final answers to the nearest dollar amount. If no entry is required for a transaction/event, select "No journal entry required" in the first account field.)
In: Accounting
Python language!!!!!
№1
The translation from the Berland language into the Birland language is not an easy task. Those languages are very similar: a berlandish word differs from a birlandish word with the same meaning a little: it is spelled (and pronounced) reversely. For example, a Berlandish word code corresponds to a Birlandish word edoc. However, it's easy to make a mistake during the «translation». Vasya translated word s from Berlandish into Birlandish as t. Help him: find out if he translated the word correctly.
Input
The first line contains word s, the second line contains word t. The words consist of lowercase Latin letters. The input data do not consist unnecessary spaces. The words are not empty and their lengths do not exceed 100 symbols.
Output
If the word t is a word s, written reversely, print YES, otherwise print NO.
Examples
input
code
edoc
output
YES
№2
Anton likes to play chess, and so does his friend Danik.
Once they have played n games in a row. For each game it's known who was the winner — Anton or Danik. None of the games ended with a tie.
Now Anton wonders, who won more games, he or Danik? Help him determine this.
Input
The first line of the input contains a single integer n (1 ≤ n ≤ 100 000) — the number of games played.
The second line contains a string s, consisting of n uppercase English letters 'A' and 'D' — the outcome of each of the games. The i-th character of the string is equal to 'A' if the Anton won the i-th game and 'D' if Danik won the i-th game.
Output
If Anton won more games than Danik, print "Anton" (without quotes) in the only line of the output.
If Danik won more games than Anton, print "Danik" (without quotes) in the only line of the output.
If Anton and Danik won the same number of games, print "Friendship" (without quotes).
Examples
input
6
ADAAAA
output
Anton
№3
You can not just take the file and send it. When Polycarp trying to send a file in the social network "Codehorses", he encountered an unexpected problem. If the name of the file contains three or more "x" (lowercase Latin letters "x") in a row, the system considers that the file content does not correspond to the social network topic. In this case, the file is not sent and an error message is displayed.
Determine the minimum number of characters to remove from the file name so after that the name does not contain "xxx" as a substring. Print 0 if the file name does not initially contain a forbidden substring "xxx".
You can delete characters in arbitrary positions (not necessarily consecutive). If you delete a character, then the length of a string is reduced by 11. For example, if you delete the character in the position 22 from the string "exxxii", then the resulting string is "exxii".
Input
The first line contains integer nn (3≤n≤100)(3≤n≤100) — the length of the file name.
The second line contains a string of length nn consisting of lowercase Latin letters only — the file name.
Output
Print the minimum number of characters to remove from the file name so after that the name does not contain "xxx" as a substring. If initially the file name dost not contain a forbidden substring "xxx", print 0.
Examples
input
6
xxxiii
output
1
In: Computer Science
The accompanying table shows a portion of data consisting of the selling price, the age, and the mileage for 20 used sedans.
| Selling Price | Age | Miles |
| 13529 | 8 | 61452 |
| 13835 | 5 | 54323 |
| 22912 | 3 | 8292 |
| 15345 | 7 | 24865 |
| 16398 | 6 | 22132 |
| 16620 | 1 | 23658 |
| 16967 | 6 | 47373 |
| 18460 | 1 | 16828 |
| 18873 | 6 | 35404 |
| 19881 | 6 | 29616 |
| 11837 | 8 | 55840 |
| 14907 | 4 | 46167 |
| 15900 | 7 | 36969 |
| 16524 | 4 | 45492 |
| 9426 | 8 | 86931 |
| 12946 | 5 | 77202 |
| 15724 | 7 | 59699 |
| 10529 | 9 | 93204 |
| 8905 | 10 | 48262 |
| 11967 | 10 | 42372 |
a. Determine the sample regression equation that enables us to predict the price of a sedan on the basis of its age and mileage. (Negative values should be indicated by a minus sign. Round your answers to 2 decimal places.) [If you are using R to obtain the output, then first enter the following command at the prompt: options(scipen=10). This will ensure that the output is not in scientific notation.]
b. Interpret the slope coefficient of Age.
The slope coefficient of Age is −528.13, which suggests that for every additional year of age, the predicted price of car decreases by $528.13.
The slope coefficient of Age is −0.09, which suggests that for every additional year of age, the predicted price of car decreases by $0.09.
The slope coefficient of Age is −528.13, which suggests that for every additional year of age, the predicted price of car decreases by $528.13, holding number of miles constant.
The slope coefficient of Age is −0.09, which suggests that for every additional year of age, the predicted price of car decreases by $0.09, holding number of miles constant.
c. Predict the selling price of a seven-year-old sedan with 66,000 miles. (Round coefficient estimates to at least 4 decimal places and final answer to 2 decimal places.)
| PriceˆPrice^ = ? |
In: Statistics and Probability
A barber shop offers haircuts to both students and faculty. Student demand for haircuts is given by pS(QS) = 24− 1QS. Faculty demand for haircuts is given by pF(QF) = 24− 1QF.
Students have more hair than professors (even the young professors), and longer hair costs more to cut. Reflecting this fact, the barber shop’s total costs are
C(QS,QF)=16QS +10QF
Suppose first that the barber shop can engage in perfect price
discrimination.
(3 pts.) How many students get haircuts (Q∗S )? How many faculty get haircuts (Q∗F )? How much profit will the barber shop make?
(3 pts.) Under perfect price discrimination, is each of these statements true or false? Briefly explain your reasoning.
i. Every faculty member with positive willingness to pay ends up getting a haircut. ii. Among the people who get haircuts, students pay more than faculty on average.
iii. The cheapest haircut sold is sold to a faculty member
Now suppose that the barbershop cannot engage in personalized pricing. However, it is able to offer one price for students and a different price for faculty.
c. (3 pts.) Find the monopoly’s profit-maximizing prices p∗S and p∗F under group price discrimination. Which group is charged a bigger price markup?
Upset about discriminatory prices, student groups organize protests against the barber shop, using the catchy slogan “It’s unfair / to tax our hair!” The protests go viral, and the barber shop reluctantly agrees to charge everybody the same price, regardless of cost.
d. (3 pts.) Compute the market demand curve Q(p), then write the barber shop’s profits as a function of p. (Be careful with the costs!) What price will the barber shop charge?
In: Economics
For the following exercise, complete the calculations below. Evaluate different capital investment appraisal techniques by completing the calculations shown below:
Bongo Ltd. is considering the selection of one of two mutually exclusive projects. Both would involve purchasing machinery with an estimated useful life of 5 years.
Project 1 would generate annual cash flows (receipts fewer payments) of £200,000; the machinery would cost £556,000 with a scrap value of £56,000.
Project 2 would generate cash flows of £500,000 per annum; the machinery would cost £1,616,000 with a scrap value of £301,000.
Bongo uses straight-line depreciation. Its cost of capital is 15% per annum.
Assume that all cash flows arise on the anniversaries of the initial outlay, that there are no price changes over the project lives, and that accepting either project will have no impact on working capital requirements.
Assess the choice using the following methods by completing the calculations shown below:
ARR
NPV
IRR
Payback period
Calculate the missing answers:
| Project 1 | Project 2 | |
|---|---|---|
| ARR (see workings) | 33% | ??? |
| NPV (£'000) | ??? | 210 |
| IRR | 25% | ??? |
| Payback Period (yrs) | ??? | 3.2 |
ARR workings (Project 1)
| Cash flows | 200 |
| Less: depreciation (see below) | 100 |
| Accounting profits | 100 |
These profits are the same each year in this question.
Annual depreciation (Cost - SV) / 5
| (556,000 - 56,000) / 5 | 100 |
Average NBV of investments
| (556 + 56) /2 | 306 |
| ARR | 33% |
Be sure to demonstrate your workings.
In: Accounting
For the following exercise, complete the calculations below. Evaluate different capital investment appraisal techniques by completing the calculations shown below:
Bongo Ltd. is considering the selection of one of two mutually exclusive projects. Both would involve purchasing machinery with an estimated useful life of 5 years.
Project 1 would generate annual cash flows (receipts less payments) of £200,000; the machinery would cost £556,000 with a scrap value of £56,000.
Project 2 would generate cash flows of £500,000 per annum; the machinery would cost £1,616,000 with a scrap value of £301,000.
Bongo uses straight-line depreciation. Its cost of capital is 15% per annum.
Assume that all cash flows arise on the anniversaries of the initial outlay, that there are no price changes over the project lives, and that accepting either project will have no impact on working capital requirements.
Assess the choice using the following methods by completing the calculations shown below:
Calculate the missing answers:
| Project 1 | Project 2 | |
| ARR (see workings) | 33% | ??? |
| NPV (£’000) | ??? | 210 |
| IRR | 25% | ??? |
| Payback Period (yrs) | ??? | 3.2 |
ARR workings (Project 1)
| Cash flows | 200 |
| Less: depreciation (see below) | 100 |
| Accounting profits | 100 |
These profits are the same each year in this question.
Annual depreciation (Cost – SV) / 5
| (556,000 – 56,000) / 5 | 100 |
Average NBV of investments
| (556 + 56) /2 | 306 |
| ARR | 33% |
Be sure to demonstrate your workings.
In: Accounting