The First National Bank of Parkville recently opened up a new “So You Want to Be a Millionaire” savings account. The new account works as follows:
Write a java program that prompts the user for a starting balance and then prints the number of years it takes to reach $100,000 and also the number of years it takes to reach $1,000,000.
Sample session:
Enter starting balance: 10000
It takes 4 years to reach $100,000.
It takes 7 years to reach $1,000,000.
In: Computer Science
how does hot water separate silver (1) chloride from lead (2) chloride?
In: Chemistry
Worley Company buys surgical supplies from a variety of manufacturers and then resells and delivers these supplies to hundreds of hospitals. Worley sets its prices for all hospitals by marking up its cost of goods sold to those hospitals by 5%. For example, if a hospital buys supplies from Worley that cost Worley $100 to buy from manufacturers, Worley would charge the hospital $105 to purchase these supplies.
For years, Worley believed that the 5% markup covered its selling and administrative expenses and provided a reasonable profit. However, in the face of declining profits, Worley decided to implement an activity-based costing system to help improve its understanding of customer profitability. The company broke its selling and administrative expenses into five activities as shown:
|
||||||||||||||||||||||||||||||||||
Worley gathered the data below for two of the many hospitals that it serves—University and Memorial (each hospital purchased medical supplies that had cost Worley $36,000 to buy from manufacturers):
|
Activity |
||
| Activity Measure | University | Memorial |
| Number of deliveries | 11 | 27 |
| Number of manual orders | 0 | 41 |
| Number of electronic orders | 19 | 0 |
| Number of line items picked | 160 | 280 |
Required:
1. Compute the total revenue that Worley would receive from University and Memorial.
2. Compute the activity rate for each activity cost pool.
3. Compute the total activity costs that would be assigned to University and Memorial.
4. Compute Worley’s customer margin for University and Memorial.
In: Accounting
Two spherical shells have a common center. A -1.00 ×
10-6 C charge is spread uniformly over the inner shell,
which has a radius of 0.050 m. A +4.00 × 10-6 C charge
is spread uniformly over the outer shell, which has a radius of
0.15 m. Find the magnitude and direction of the electric field at a
distance (measured from the common center) of
(a) 0.20 m,(b) 0.10
m,c) 0.025 m.
In: Physics
What is price elasticity of demand? What are the determinants of price elasticity of demand. How does the concept of elasticity help in decision making and price setting. Provide examples to substantiate your responses and also cite the source of your information.
In: Economics
In: Nursing
What revenue or expense amounts are necessary to make a sell-or-process further decision?
In: Accounting
In: Accounting
A firm has total assets of $370,000, long-term debt of $140,000, stockholders' equity of $160,000, and current liabilities of $70,000. The dividend payout ratio is 30 percent and the profit margin is 8 percent. Assume all assets and current liabilities change spontaneously with sales and the firm is currently operating at full capacity. What is the external financing need if the current sales of $500,000 are projected to increase by 15 percent?
|
$11,200 |
||
|
$11,600 |
||
|
$12,000 |
||
|
$12,400 |
||
|
$12,800 |
In: Finance
Diego Company manufactures one product that is sold for $77 per unit in two geographic regions—the East and West regions. The following information pertains to the company’s first year of operations in which it produced 59,000 units and sold 54,000 units.
| Variable costs per unit: | ||
| Manufacturing: | ||
| Direct materials | $ | 27 |
| Direct labor | $ | 10 |
| Variable manufacturing overhead | $ | 2 |
| Variable selling and administrative | $ | 3 |
| Fixed costs per year: | ||
| Fixed manufacturing overhead | $ | 1,298,000 |
| Fixed selling and administrative expense | $ | 662,000 |
The company sold 41,000 units in the East region and 13,000 units in the West region. It determined that $330,000 of its fixed selling and administrative expense is traceable to the West region, $280,000 is traceable to the East region, and the remaining $52,000 is a common fixed expense. The company will continue to incur the total amount of its fixed manufacturing overhead costs as long as it continues to produce any amount of its only product.
Required:
1. What is the unit product cost under variable costing?
2. What is the unit product cost under absorption costing?
3. What is the company’s total contribution margin under variable costing?
4. What is the company’s net operating income (loss) under variable costing?
5. What is the company’s total gross margin under absorption costing?
In: Accounting
3. Write a Java program to demonstrate the concept of priority thread. It should show that each thread have a priority. Priorities are represented by a number between 1 and 20. In most cases, thread schedular schedules the threads according to their priority (known as preemptive scheduling). But it is not guaranteed because it depends on JVM specification that which scheduling it chooses.
3 constants defined in Thread class:
1. public static int MIN_PRIORITY
2. public static int NORM_PRIORITY
3. public static int MAX_PRIORITY
Default priority of a thread is 5 (NORM_PRIORITY). The value of
MIN_PRIORITY is 1 and
the value of MAX_PRIORITY is 20.
Here is an example of priority of a Thread:
1. class TestMultiPriority1 extends Thread{
2. public void run(){
3. System.out.println("running thread
name is:"+Thread.currentThread().getName());
4. System.out.println("running thread
priority is:"+Thread.currentThread().getPriority());
5. }
6. public static void main(String args[]){
7. TestMultiPriority1 m1=new
TestMultiPriority1();
8. TestMultiPriority1 m2=new
TestMultiPriority1();
9. m1.setPriority(Thread.MIN_PRIORITY);
10. m2.setPriority(Thread.MAX_PRIORITY);
11. m1.start();
12. m2.start();
13.
14. }
15. }
In: Computer Science
In: Economics
The coefficient of static friction between teflon and scrambled
eggs is about 0.04.
What is the smallest angle from the horizontal that will cause the
eggs to slide across the bottom of the Teflon-coated skiller?
In: Physics
Python 3.7.4
## Tombstones
'''
A Grave is a dictionary with two keys:
* 'Name': A string value with the grave's occupant's name
* 'Message': A string value with the grave's message
'''
Grave = {'name': str, 'Message': str}
'''
G1. Define the function `count_grave_all` that consumes a list of
graves
and produces an integer representing the number of characters
needed to
write all of the message of the grave. Include spaces and new
lines.
'''
'''
G2. Define the function `count_grave_characters` that consumes a
list of graves
and produces an integer representing the number of characters
needed to
write all of the message of the grave. Do not count spaces and new
lines.
'''
'''
G3. Define a function named `estimate_grave_cost` that consumes a
list of graves
and produces an integer representing the total estimate lettering
cost by
multiplying the number of letters on the grave (ignoring spaces and
newlines) by
the cost of writing a letter ($2).
'''
"""
G4. Define a function named `count_shouters` that consumes a list
of graves
and produces an integer representing the number of graves that had
their
messages in all capital letters. Hint: use the `.upper()`
method.
"""
In: Computer Science
Jones Company is a U.S. firm preparing its financial plan for the upcoming year. It has no foreign subsidiaries, but the majority of its sales are from exports to Australia, Canada, Argentina and Taiwan. Estimated foreign cash inflows to be received from exports and foreign cash outflows to be paid for imports over the next year are shown below: Currency Total Inflow Total Outflow Australia dollars (A$) A$33,000,000 A$3,000,000 Canada dollars (C$) C$6,000,000 C$2,000,000 Argentina pesos (AP) AP12,000,000 AP11,000,000 Taiwan dollars (T$) T$5,000,000 T$9,000,000 Today’s spot rates and one-year forward rates in US$ are as follows: Currency Spot Rate One-Year Forward Rate A$ $ .91 $ .94 C$ .61 .60 AP .19 .16 T$ .66 .65 2. The current spot rate is used by Jones as a forecast of the future spot rate one year from now. The C$, AP, and T$ are expected to move in tandem with the U.S. dollar during the upcoming year. The A$’s movements are expected to be independent of the movements of the other currencies. As exchange rate movements are difficult to predict, the estimated net dollar cash flows per currency may differ from the estimates. Could the exchange rate movements from whatever exchange rate movements do occur offset each other? Explain. Be specific.
In: Finance