Write the code for binary min heap in c++ .
In: Computer Science
Starting with a 30% (w/w) solution of hydrogen peroxide, how many mL would you need to dilute in order to end up with 25.00mL of a 3.6 M hydrogen peroxide solution? What are the hazards and safety precautions associated with 30% hydrogen peroxide. Assume a solution density of 1.11 g/mL.
In: Chemistry
An object with a density of 761.0 kg/m3 and a mass of 1399.0 kg is thrown into the ocean. Find the volume that sticks out of the water. (use ?seawater = 1024 kg/m3)
In: Physics
British Columbia Lumber has a raw lumber division and a finished lumber division. The variable costs are as follows:
Raw lumber division: R100 per 100 m² of raw
lumber
Finished lumber division: R125 per 100 m² of finished lumber
Assume that there is no m² loss in processing raw lumber into finished lumber. Raw lumber can be sold at R200 per 100 m². Finished lumber can be sold at R275 per 100 m².
Required:
2.1 Should British Columbia Lumber process raw lumber into its finished form? Show your calculations.
2.2 Assume that internal transfers are made at 110% of variable costs. Will each division maximise its division contribution by adopting the action that is in the best interest of British Columbia Lumber as a whole? Explain.
2.3 Assume that the internal transfers are made at market prices. Will each division maximise its division contribution by adopting the action that is in the best interest of British Columbia Lumber as a whole? Explain.
In: Accounting
Discussion 1 – due 23 February 2020, 11:55 PM ECT (5% of coursework marks)
Provide Sue with financial advice on which option has the potential to yield the highest monetary value. Support your rational with calculations using time value of money and comment on the risk return relationship for each option, assume interest rate on savings is 4% and is compounded semi-annually.
Sue James is a 55-year old accountant who works at Ernst and Young (EY) who is about to retire. She has the following decision to make:
Option A – Select a lump sum gratuity payment of $120,000 with a reduced pension of $1,750 per month.
Option B – Select a monthly pension of $3,300 with no lump sum gratuity payment.
In addition, Sue has a loan of $72,000 with loan payments of $1,200 per month for the next five years.
word limit 200 words
In: Finance
Describe how at least one of the laws of thermodynamics relates to your room, or the heating or cooling of your room and Comment on three ways to improve the efficiency of your room.
In: Physics
Instruction: The table consists of information about
2 competing investments.
Economy Probability Project A
Project B
Profit Expected
Value Profit
Expected Value
Weak 15.0% $10.00
-$25.00
OK 55.0% $30.00
$0.00
Good 20.0% $50.00
$100.00
Excellent 10.0% $70.00
$200.00
100%
Part 1 - calculate the expected value for each project.
3 points per
answer
part 2 - which do you select?
Why?
In: Finance
This question is about concentration measurements and its effect on E and K.
Cu/Cu^+2 // Ag/Ag^+2
It's same voltaic cell setup directions but for different concetrations of Ag+2 solutions: 0.2M, 0.02M, 0.0020M and 0.00020M.
Calculate the E of the above different Ag+2 solution by using this form of the Nernst equation: E= E0 - (0.0257/n)*lnK where K is the qulilbrium constant and n is the number of electrons and E0 is standerd cell pontential at STP
Please show the process and explains. Thank you
In: Chemistry
Agree/Disagree and Why?
Integer linear programs involve a class of problems that are modeled as linear programs with the additional requirement that one or more variables must be integer. If all variables must be integer, we have an all-integer linear program. As some, but not all, variables must be integer of a mixed-integer linear program. The cost of the added modeling flexibility provided by integer programming is that problems involving integer variables are often much more difficult to solve. (Anderson)
As discussed Bradley, Hax, and Magnati, “The linear-programming models that have been discussed thus far all have been continuous, in the sense that decision variables are allowed to be fractional. Often this is a realistic assumption. At other times, however, fractional solutions are not realistic, and we must consider the optimization problem. This problem is called the (linear) integer-programming problem. It is said to be a mixed integer program when some, but not all, variables are restricted to be integer, and is called a pure integer program when all decision variables must be integers. If the constraints are of a network nature, then an integer solution can be obtained by ignoring the integrality restrictions and solving the resulting linear program. In general, though, variables will be fractional in the linear-programming solution, and further measures must be taken to determine the integer-programming solution.”
If we drop the phrase “and integer” from the last line of this model, we have the familiar two variable linear program. The linear program that results from dropping the integer requirements is called the LP relaxation of the integer linear program. When analyzing the LP Relaxation model, it is possible use a graphical solution just as accomplished with the familiar two variable linear program. In many cases, a non-integer solution can be rounded to obtain an acceptable integer solution. It should be recognized however that rounding may not always be a good strategy. When the decision variables take on small values that have a major impact on the value of the objective function, an optimal integer solution is needed. Rounding to an integer solution is a trial-and-error approach. Another aspect of integer linear program is a result of the need to use 0-1 variables. In many applications, 0-1 variables provide selections or choices if the value of the variable equal to 1 corresponds to activities undertaken, and equal to 0 if the corresponding activity is not undertaken. (Anderson) In this application of integer linear programming, the story involving the wisdom of King Solomon comes to mind. In the story, two women came to him with one baby with each woman claiming that she was the mother of the baby. King Solomon, without knowing which woman was truly the mother of the baby, asked for a sword. Because neither one of the women would confess that she was not the mother, he ordered the baby to be cut in half and give each of the women half of the baby. The real mother who truly loved the child requested that King Solomon give the baby to the other woman so the child would not be injured. The other woman who was not the real mother said go ahead and cut the baby in half, whereupon, in his wisdom inspired by God, King Solomon realized the first woman was the true mother. In a simple example maintaining the constraint of 0 or 1, representing a whole baby or half of a baby, King Solomon was able to determine the true identity of the baby’s mother.
Integer linear program can be applied to many real-world situations such as distribution system design for shipping, business center location problems for optimum customer service, product design and market share optimization, and determining number of weapon systems for the DoD (Anderson)
In: Operations Management
| This assignment will be submitted to Turnitin®. | |
| Instructions | |
|
Instruction: Complete your essay in a new MS Word document and upload to iCollege. Your answer should demonstrate your ability to apply the concepts learned in our class. The word count of the text that includes your “own words” should be at least 500 words (about 700 max.). The text should be typed double-spaced using a 12-point font size in Times New Roman.
Suggested Answer: Students should discuss the advantages and disadvantages of division of labor. Someone specializing in the execution of a single operation might master it, but might be quite inadequate at others. Remember the famous Bruce Lee quote, “I fear not the man who has practiced 10,000 kicks once, but I fear the man who has practiced one kick 10,000 times.” Related concepts: Multiskilling, job rotation, job enrichment, assembly line. |
|
In: Economics
1. ABC company prepared the following contribution format income statement based on a sales volume of 1,000 unites:
|
Sales |
$25,000 |
|
Variable expenses |
$15,000 |
|
Contribution margin |
$10,000 |
|
Fixed expenses |
$6,000 |
|
Net operating income |
$4,000 |
a. Calculate contribution margin per unit, contribution margin ratio, and variable expense ratio. (5 points)
b. What would be the percentage increase in net operating income if sales volume increases by 50%? (5 points)
c. If the selling price increases by 10% and sales volume decreases by 10%, what would be the net operating income? (5 points)
d. What would be the break even point in unit sales if variable expenses per unit increases by 8% and fixed expenses increase by 10%? (5 points)
e. What is the margin of safety percentage? At what “percentage of sale volume decrease” the company would experience zero net operating income? (5 points)
In: Accounting
True or Flase, preferably explain the reasoning behind the answer
a)The electric field inside the solid metal sphere is never zero
b)If the solid sphere is an insulator (instead of metal) with net charge Q, the charges are wherever they were placed, and cannot move around.
c) If the solid sphere is an insulator (instead of metal) with net charge Q, the electric field for r >> R would be the same as that of a conductor with the same shape and charge.
d)The net charge on the inside of the solid metal sphere is neutral.
e)The electric field for the metal sphere at r << R will be the same as the field of a point charge, Q, at the origin
f)The electric field near the metal surface on the outside is parallel to the surface.
In: Physics
List the 8 different types of simple machines. The 8th one is harder and less obvious.
In: Physics
Six similar boxes (A–F) are initially sliding in the positive
direction along a frictionless horizontal surface at a speed of 10
m/s. Then a net horizontal force, also in the positive direction,
is applied to each box for a period of 10 seconds. The masses of
the boxes and the net horizontal force for each case are given
below.
Rank the boxes in order of increasing FINAL momentum. That is, put
first the box with the smallest final momentum, and put last the
box with the largest final momentum.
If B is smallest, then A, C, D, and finally E is largest, enter
BACDE.
Note: if final momenta are equal, then enter those cases in the
order listed.
A) F = 30 N. . . . . . M = 15 kg
B) F = 80 N. . . . . . M = 10 kg
C) F = 70 N. . . . . . M = 15 kg
D) F = 75 N. . . . . . M = 15 kg
E) F = 95 N. . . . . . M = 25 kg
F) F = 110 N. . . . . . M = 10 kg
In: Physics
explain step by step please
1) A projectile returns to its original height after 4.08 seconds, during which time it travels 76.2 meters horizontally. If air resistance can be neglected, what was the projectile's initial speed?
(Use g = 9.80 m/s2)
In: Physics