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
A small rock moves in water, and the force on it by the water is given by f=kv. The terminal speed of the rock is measured and found to be 2.0m/s. The rock is projected upward at an inital speed of 6.0m/s. You can ignore the buoyancy force on the rock
a) in the absence of fluid resistance, how high will the rock rise and how long will it take to reach this maximum height? I managed this one. b) when the effects of fluidresistance are included, what are the answers to the question in part a).
i manage to get the same z time as the solution on this website.
I and the website has the same equation for Vy.
the websites solution for Y = Vt*[1-e^(-k/mt))] which is the same expression as the example in the book.
But in the example in the book there is no initial speed Vy=0. In the question there is initla speed and therefor I think the expression for Y must be different from the examples expression. Therefore I think the solution of this question on this website must be wrong. Please comment me on this.
In: Physics
Function Return Value
In this program, you will be using C++ programming constructs, such as functions and loops.
main.cpp
Write a program that allows the user to enter the information for multiple packages to determine the shipping charges for each package. The program will exit when the user enters 0 or negative for the package weight.
Your program will ask the user to enter the weight of a package they want to ship. If the weight they enter is a positive number, your program will then prompt the user to enter the distance the package will be shipped. Your program will then output the shipping charges with a precision of 2 digits past the decimal point, and will prompt the user for the next package.
calculateCharge
Create a function called calculateCharge that contains 2 parameters: a double to represent the weight of the package, and an integer to represent the distance the package will be shipped. This function returns the shipping charge. See types.hpp for the function prototype for this function.
This function calculates the charge based on the package weight as well as the distance. The rates per weight are defined in types.hpp. And that rate is multiplied by how many 500 mile segments the package will be traveling. For instance, if the distance is 1-500 then the rate is multiplied by one. If the distance is 501-1000 then the rate is multiplied by two. 1001-1500, multiplied by three, and so forth.
Input Validation
Hints
Sample Output
Welcome to Fast Freight Shipping Company Enter the package weight in lbs (or 0 to exit): 0
Welcome to Fast Freight Shipping Company Enter the package weight in lbs (or 0 to exit): 33 Enter shipping distance in miles: 3 Shipping cost: $6.40 Enter the package weight in lbs (or 0 to exit): -1
Welcome to Fast Freight Shipping Company Enter the package weight in lbs (or 0 to exit): 3.4 Enter shipping distance in miles: 501 Shipping cost: $8.40 Enter the package weight in lbs (or 0 to exit): 3.4 Enter shipping distance in miles: 500 Shipping cost: $4.20 Enter the package weight in lbs (or 0 to exit): 1.1 Enter shipping distance in miles: 1100 Shipping cost: $9.30 Enter the package weight in lbs (or 0 to exit): 1.1 Enter shipping distance in miles: 1 Shipping cost: $3.10 Enter the package weight in lbs (or 0 to exit): 0
Here is is the information on the types.hpp file to be used:
//-----------
// Constants
//-----------
// shipping distance per segment
const int SEGMENT_MILES = 500;
// rates per 500 miles shipped
const double RATE1 = 3.10; // pkgs weighing <= 2 lb
const double RATE2 = 4.20; // pkgs > 2 lb but <= 6 lb
const double RATE3 = 5.30; // pkgs > 6 lb but <= 10 lb
const double RATE4 = 6.40; // pkgs > 10 lb
//---------------------
// Function prototypes
//---------------------
// This function receives a package weight in lbs and
// a shipping distance in miles. It uses these to compute
// and return the shipping charge.
double calculateCharge(double weight, int distance);
In: Computer Science
In: Accounting
ALGORITHMS AND ANALYSIS
Show with a counterexample that the greedy approach does not always yield an optimal solution for the Change problem when the coins are U.S. coins and we do not have at least one of each type of coin.
In: Computer Science
Think about a population mean that you may be interested in and propose a confidence interval problem for this parameter. Your data values should be approximately normal.
For example, you may want to estimate the population mean number of hours people watch tv each week. Your data could be that you spoke with seven people you know and found that they went out 14,20,17,26,2,12, and 16 times last week. You then would choose to calculate a 95% (or another level) confidence interval for the population mean.
Assume a random sample was chosen, which is required to determine a confidence interval.
please show all steps in the solution
In: Math
1. Define Monetary Policy 2. Tell how the Fed was created 3. Draw the pyramid 4. Define all of the parts of the pyramid, tell # of members and term limits (if given) for each.
In: Economics
In: Computer Science
Copper reacts with dilute nitric acid according to:
3 Cu(s) + 8 HNO3(aq) ? 3 Cu(NO3)2(aq) + 2 NO(g) + 4 H2O(l)
If a copper penny weighing 3.045-g is dissolved in 37.23 mL of 3.750 M nitric acid and the resultant solution is diluted to 50.00 mL in a volumetric flask, what is the final concentration of NO3- in the solution?
In: Chemistry
Programming in C Game of Craps
PR01
The game of craps is often said to be the “fairest” casino game of
pure chance (meaning that
there is no player strategy involved) in that the house has the
smallest advantage over the
player. What is that advantage? To answer this question we need to
first define, precisely, what
we mean by “advantage”. The house advantage is simply the fraction
of bets placed that will go
to the house, on average.
To estimate the house advantage for craps perform a Monte Carlo
simulation of the game for
many millions of games, keeping track of the total amount bet and
the total amount collected
by the house.
The rules of craps are very simple (note that we are not
considering “side bets”). A player
places a wager and they will either lose the game (and their wager)
or they will win the game
(and get both their wager and an equal payout from the house). Each
game consists of a
number of throws of two fair six-sided dice (with sides equal to
{1,2,3,4,5,6}. On each roll the
sum of the two dice is calculated. On the first roll, if a player
rolls a 7 or an 11 they win
immediately. If the first roll is 2, 3, or 12 they lose
immediately. Any other result establishes the
player’s “point” for that game. They then continue rolling the dice
until they either roll their
point again (and win) or roll a 7 (and lose).
Write a predicate function that plays a single game of craps and
returns TRUE if the player wins
and FALSE if the player loses. On each game place a random bet
ranging from $1 to $1000
(whole dollar increments is fine). Collect data not only on the
total amount wagered and the
total (net) amount taken by the house, but also aggregate data on
how long games last and
their outcome. The end result should be output similar to the
following (fake data). Note that
the percentages in parens on each line are the percentage of games
that lasted that length, not
the fraction of total games played. The last column is the
percentage of all games that lasted
that number of rolls.
GAMES PLAYED:........ 1000000
LONGEST GAME:........ 31 rolls
HOUSE ADVANTAGE:..... 1.734%
ROLLS WON LOST % OF GAMES
1 222222 (66.667%) 111111 (33.333%) 33.333
2 22222 ( 2.222%) 11111 ( 1.111%) 17.234
3 2222 ( 0.222%) 11111 ( 1.111%) 8.645
4 222 ( 0.022%) 1111 ( 0.111%) 0.935
...
20 22 ( 0.002%) 1 ( 0.000%) 0.006
>20 2222 ( 0.222%) 111 ( 0.011%) 0.521
PR02
Take a slightly different look at the game of craps by tabulating
the odds of winning (the
fraction of the time that the player wins) for each possible mark
value. This table should look
something like:
GAMES PLAYED:........ 1000000
FIRST ROLL WIN:...... 22.222%
FIRST ROLL LOSS:..... 11.111%
POINT WON LOST
4 222222 (22.222%) 111111 (11.111%)
5 22222 (22.222%) 111111 (11.111%)
6 2222 (22.222%) 111111 (11.111%)
8 26 (13.222%) 173 (86.778%)
9 222222 (22.222%) 111111 (11.111%)
10 222222 (22.222%) 111111 (11.111%)
Again, note that the numbers above are just effectively random
placeholder values.
The percentages for the first-roll figures should be as a fraction
of all games played. The
percentages for the values in the table should be as a fraction of
all games that used that row’s
point value. The idea is for the player to know that IF their point
is 8, then they have a 13%
change of winning that game – so the percentages on each row should
sum to 100%.
In: Computer Science