Questions
####################################################################################################### ###################################################################################### ########################################################### ####

#######################################################################################################
######################################################################################
###########################################################
#############################using python###################
###########################################################
 
#  RQ1
from operator import add, sub
def a_plus_abs_b(a, b):
    """Return a+abs(b), but without calling abs.

    >>> a_plus_abs_b(2, 3)
    5
    >>> a_plus_abs_b(2, -3)
    5
    """
    if b < 0:
        f = _____
    else:
        f = _____
    return f(a, b)


#  RQ2
def two_of_three(a, b, c):
    """Return x*x + y*y, where x and y are the two largest members of the
    positive numbers a, b, and c.

    >>> two_of_three(1, 2, 3)
    13
    >>> two_of_three(5, 3, 1)
    34
    >>> two_of_three(10, 2, 8)
    164
    >>> two_of_three(5, 5, 5)
    50
    """
    return _____

In: Computer Science

Please answer the following questions in complete sentences. 1. Why do employees resist change? 2. How...

Please answer the following questions in complete sentences.

1. Why do employees resist change?

2. How can managers facilitate change in an organization?

In: Operations Management

Cornerstone Exercise 4.5 (Algorithmic) Activity-Based Product Costing Roberts Company produces two weed eaters: basic and advanced....

Cornerstone Exercise 4.5 (Algorithmic)

Activity-Based Product Costing

Roberts Company produces two weed eaters: basic and advanced. The company has four activities: machining, engineering, receiving, and inspection. Information on these activities and their drivers is given below.

Basic      Advanced      Total
Units produced         80,000         240,000         ------
Prime costs         $6,720,000         $27,360,000         $34,080,000
Machine hours         80,000         400,000         480,000
Engineering hours         500         4,500         5,000
Receiving orders         200         600         800
Inspection hours         800         1,600         2,400
       
Overhead costs:        
Machining         $7,200,000
Engineering         2,250,000
Receiving         192,000
Inspecting products         336,000

Required:

1. Calculate the four activity rates.

Machining rate $ per machine hour
Engineering rate $ per hour
Receiving rate $ per order
Inspecting rate $ per hour

2. Calculate the unit costs using activity rates. Round your answers to the nearest cent.

Unit cost
Basic $ per unit
Advanced $ per unit

Calculate the overhead cost per unit. Round your answers to the nearest cent.

Overhead Cost
Basic $ per unit
Advanced $ per unit

3. What if consumption ratios instead of activity rates were used to assigned costs? Show the cost assignment for the inspection activity.

Cost assignment
Basic $
Advanced $

In: Finance

# RQ3 def largest_factor(n): """Return the largest factor of n that is smaller than n. >>>...




#  RQ3
def largest_factor(n):
    """Return the largest factor of n that is smaller than n.

    >>> largest_factor(15) # factors are 1, 3, 5
    5
    >>> largest_factor(80) # factors are 1, 2, 4, 5, 8, 10, 16, 20, 40
    40
    """
    "*** YOUR CODE HERE ***"


         
#  RQ4
#  Write functions c, t, and f such that calling the with_if_statement and
#  calling the with_if_function do different things.
#  In particular, write the functions (c,t,f) so that calling  with_if_statement function returns the integer number 1, 
#  but calling the with_if_function function throws a ZeroDivisionError.

def if_function(condition, true_result, false_result):
    """Return true_result if condition is a true value, and
    false_result otherwise.

    >>> if_function(True, 2, 3)
    2
    >>> if_function(False, 2, 3)
    3
    >>> if_function(3==2, 3+2, 3-2)
    1
    >>> if_function(3>2, 3+2, 3-2)
    5
    """
    if condition:
        return true_result
    else:
        return false_result


def with_if_statement():
    """
    >>> with_if_statement()
    1
    """
    if c():
        return t()
    else:
        return f()

def with_if_function():
    return if_function(c(), t(), f())

def c():
    "*** YOUR CODE HERE ***"

def t():
    "*** YOUR CODE HERE ***"

def f():
    "*** YOUR CODE HERE ***"



In: Computer Science

Another manager wants to evaluate an internal process that would be used to produce the new...

Another manager wants to evaluate an internal process that would be used to produce the new product. The fixed and variable costs and capacities for each process are listed below. Utilize this information to answer questions 3-4.

  1. What are the low-cost output ranges for each alternative given the cost info and capacity info above? (showALL pertinent math and relevant ranges below (on both the 0-∞ continuum and in table). (5 pts)

    0 ------------------------------------------------------------------------------------------------------------------------------------------∞ Math Area:

Process

Fixed Cost

Variable Cost/Unit

Capacity

A

400,000

10

20,000

B

260,000

30

6,000

C

200,000

50

2,500

Process

Range Answer

Answer: _______________ Explanation: ______________________________________________

4) If demand was expected to range between 5,000 and 13,000 for the next 10 years, which process would you select? Explain in one sentence. (1 pt)

In: Operations Management

McCormick & Company is considering a project that requires an initial investment of $24 million to...

McCormick & Company is considering a project that requires an initial investment of $24 million to build a new plant and purchase equipment. The investment will be depreciated as a modified accelerated cost recovery system (MACRS) seven-year class asset. The new plant will be built on some of the company's land, which has a current, after-tax market value of $4.3 million. The company will produce bulk units at a cost of $130 each and will sell them for $420 each. There are annual fixed costs of $500,000. Unit sales are expected to be $150,000 each year for the next six years, at which time the project will be abandoned. At that time, the plant and equipment is expected to be worth $8 million (before tax) and the land is expected to be worth $5.4 million (after tax).To supplement the production process, the company will need to purchase $1 million worth of inventory. That inventory will be depleted during the final year of the project. The company has $100 million of debt outstanding with a yield to maturity of 8 percent, and has $150 million of equity outstanding with a beta of 0.9. The expected market return is 13 percent, and the risk-free rate is 5 percent. The company's marginal tax rate is 40 percent.

Year
1 14.29%
2 24.49%
3 17.49%
4 12.49%
5 8.93%
6 8.92%
7 8.93%
8 4.46%

Questions Below

5. What is the total operating cash flows, given the following operating cash flows:

Sales = 150,000 x $420 = $63,000,000

Costs = 150,000 x $130 + $500,000 = $20,000,000

6. Create an after-tax cash flow timeline.


7. What are the total expected cash flows at the end of year six? The $4.3 million is an opportunity cost and must be included at date zero as a cash outflow. If the project is accepted, however, the land can be sold in six years for $5.4 million.

In: Accounting

Involving stakeholders might be a must to boost sustainable business success. Discuss the factors determining the...

Involving stakeholders might be a must to boost sustainable business success. Discuss the factors determining the types of stakeholders who should be involved in the decision of sustainable business. Explain the possible strategies of promoting sustainability to gain stakeholders' support. Support your answer with examples.

In: Operations Management

Here are some questions and their answers. I would appreciate it if someone could explain to...

Here are some questions and their answers. I would appreciate it if someone could explain to me step by step how to get the answer?

1) A student pipets 25 mL of propanoic acid from a stock container labeled 0.18 M propanoic acid. The student then dilutes the 25 mL to 100 mL with distilled water. He labels the bottle of 100 mL of propanoic acid with what concentration? The answer for this is 0.045M propanoic acid, but can someone show step by step how to get to this answer?

2) Which of the following three salts would be acidic if dissolved in water: I. KCN II. NH4Br III. C2H5NH3Cl
answer: II and III only (how and why???)

3) What is the OH− concentration in Drano, a common drain cleaner that has a pH of 12.3 at 25oC? Answer: 0.02 M

4) What is the hydronium ion concentration (x) in a 1.23M solution of hypochlorous acid (HOCl) at 25oC. Answer: sqrt 1.23 ∗ 3.5x10^-8

5) The two acid dissociation constants for sulfurous acid, H2SO3, are 1.3× 10–2 and 6.3× 10–8 at 25oC. The base constant, Kb, for HSO3– is:7.7 × 10^–13

In: Chemistry

In Java, write the method public static void insertUnique(List l, T e), user of the ADT...

In Java, write the method public static void insertUnique(List l, T e), user of the ADT List. The method takes a list l and an element e and inserts the element at the end of the list only if it is not already there. Example 0.2. If l : A → B → C, then after calling insertUnique(l, "C"), the list does not change. Calling insertUnique(l, "D") will make l be : A → B → C → D.

In: Computer Science

Student Debt – Vermont: The average student loan debt of a U.S. college student at the...

Student Debt – Vermont: The average student loan debt of a U.S. college student at the end of 4 years of college is estimated to be about $22,500. You take a random sample of 136 college students in the state of Vermont and find the mean debt is $23,500 with a standard deviation of $2,600. We want to construct a 90% confidence interval for the mean debt for all Vermont college students.

(a) What is the point estimate for the mean debt of all Vermont college students?

(b) What is the critical value of t (denoted tα/2) for a 90% confidence interval? Use the value from the table or, if using software, round to 3 decimal places.
tα/2 =

(c) What is the margin of error (E) for a 90% confidence interval? Round your answer to the nearest whole dollar.
E = $

(d) Construct the 90% confidence interval for the mean debt of all Vermont college students. Round your answers to the nearest whole dollar.
< μ <

(e) Based on your answer to (d), are you 90% confident that the mean debt of all Vermont college students is greater than the quoted national average of $22,500 and why?

Yes, because $22,500 is below the lower limit of the confidence interval for Vermont students

.No, because $22,500 is above the lower limit of the confidence interval for Vermont students.   

Yes, because $22,500 is above the lower limit of the confidence interval for Vermont students.

No, because $22,500 is below the lower limit of the confidence interval for Vermont students.

(f) We are never told whether or not the parent population is normally distributed. Why could we use the above method to find the confidence interval?

Because the sample size is greater than 30.

Because the sample size is less than 100.    

Because the margin of error is less than 30.

Because the margin of error is positive.

In: Math

Superior Markets, Inc., operates three stores in a large metropolitan area. A segmented absorption costing income...

Superior Markets, Inc., operates three stores in a large metropolitan area. A segmented absorption costing income statement for the company for the last quarter is given below:

Superior Markets, Inc.
Income Statement
For the Quarter Ended September 30
Total North
Store
South
Store
East
Store
Sales $ 3,100,000 $ 700,000 $ 1,240,000 $ 1,160,000
Cost of goods sold 1,705,000 380,000 687,000 638,000
Gross margin 1,395,000 320,000 553,000 522,000
Selling and administrative expenses:
Selling expenses 819,000 232,400 315,500 271,100
Administrative expenses 388,000 107,000 152,400 128,600
Total expenses 1,207,000 339,400 467,900 399,700
Net operating income (loss) $ 188,000 $ (19,400 ) $ 85,100 $ 122,300

The North Store has consistently shown losses over the past two years. For this reason, management is giving consideration to closing the store. The company has asked you to make a recommendation as to whether the store should be closed or kept open. The following additional information is available for your use:

  1. The breakdown of the selling and administrative expenses that are shown above is as follows:

Total North
Store
South
Store
East
Store
Selling expenses:
Sales salaries $ 240,400 $ 69,000 $ 86,600 $ 84,800
Direct advertising 180,000 52,000 73,000 55,000
General advertising* 46,500 10,500 18,600 17,400
Store rent 305,000 86,000 121,000 98,000
Depreciation of store fixtures 16,500 4,700 6,100 5,700
Delivery salaries 21,300 7,100 7,100 7,100
Depreciation of delivery
equipment
9,300 3,100 3,100 3,100
Total selling expenses $ 819,000 $ 232,400 $ 315,500 $ 271,100

*Allocated on the basis of sales dollars.

Total North
Store
South
Store
East
Store
Administrative expenses:
Store managers' salaries $ 71,500 $ 21,500 $ 30,500 $ 19,500
General office salaries* 46,500 11,000 18,600 16,900
Insurance on fixtures and inventory 26,000 7,800 9,500 8,700
Utilities 109,545 32,910 41,380 35,255
Employment taxes 56,955 16,290 21,420 19,245
General office—other* 77,500 17,500 31,000 29,000
Total administrative expenses $ 388,000 $ 107,000 $ 152,400 $ 128,600

*Allocated on the basis of sales dollars.

  1. The lease on the building housing the North Store can be broken with no penalty.

  2. The fixtures being used in the North Store would be transferred to the other two stores if the North Store were closed.

  3. The general manager of the North Store would be retained and transferred to another position in the company if the North Store were closed. She would be filling a position that would otherwise be filled by hiring a new employee at a salary of $10,000 per quarter. The general manager of the North Store would continue to earn her normal salary of $11,000 per quarter. All other managers and employees in the North store would be discharged.

  4. The company has one delivery crew that serves all three stores. One delivery person could be discharged if the North Store were closed. This person’s salary is $4,100 per quarter. The delivery equipment would be distributed to the other stores. The equipment does not wear out through use, but does eventually become obsolete.

  5. The company pays employment taxes equal to 15% of their employees' salaries.

  6. One-third of the insurance in the North Store is on the store’s fixtures.

  7. The “General office salaries” and “General office—other” relate to the overall management of Superior Markets, Inc. If the North Store were closed, one person in the general office could be discharged because of the decrease in overall workload. This person’s compensation is $5,500 per quarter.

Required:

1. How much employee salaries will the company avoid if it closes the North Store?

2. How much employment taxes will the company avoid if it closes the North Store?

3. What is the financial advantage (disadvantage) of closing the North Store?

4. Assuming that the North Store's floor space can’t be subleased, would you recommend closing the North Store?

5. Assume that the North Store's floor space can’t be subleased. However, let's introduce three more assumptions. First, assume that if the North Store were closed, one-fourth of its sales would transfer to the East Store, due to strong customer loyalty to Superior Markets. Second, assume that the East Store has enough capacity to handle the increased sales that would arise from closing the North Store. Third, assume that the increased sales in the East Store would yield the same gross margin as a percentage of sales as present sales in the East store. Given these new assumptions, what is the financial advantage (disadvantage) of closing the North Store?

In: Accounting

In your reasoned opinion, is the current economic and regulatory environment in the United States conducive...

In your reasoned opinion, is the current economic and regulatory environment in the United States conducive to small business growth and entrepreneurship? Why or why not?

In: Economics

Who are the users for operational audit? Compliance Audit? Financial Audit? Choose from any drop-down list...

Who are the users for operational audit? Compliance Audit? Financial Audit?

Choose from any drop-down list

a.

Collection agent

b.

Accounting staff of the organization

c.

Purchasing agent

d.

Different groups for different

purposes long dash—many

outside entities

e.

Authority setting down​ procedures, internal or external

f.

Management of the organization

Users of audit report

In: Accounting

Laval produces lamps and home lighting fixtures. Its most popular product is a brushed aluminum desk...

Laval produces lamps and home lighting fixtures. Its most popular product is a brushed aluminum desk lamp. This lamp is made from components shaped in the fabricating department and assembled in its assembly department. Information related to the 31,000 desk lamps produced annually follow.

  

  Direct materials $ 265,000
  Direct labor
     Fabricating department (7,000 DLH × $25 per DLH) $ 175,000
     Assembly department (16,200 DLH × $22 per DLH) $ 356,400
  Machine hours
     Fabricating department 14,400 MH
     Assembly department 20,100 MH

  

Expected overhead cost and related data for the two production departments follow.

  

Fabricating Assembly
  Direct labor hours 130,000 DLH 360,000 DLH
  Machine hours 174,000 MH 126,000 MH
  Overhead cost $ 390,000 $ 455,000

  

Required
1.

Determine the plantwide overhead rate for Laval using direct labor hours as a base.

     

2.

Determine the total manufacturing cost per unit for the aluminum desk lamp using the plantwide overhead rate. (Round the intermediate calculations to 2 decimal places for overhead costs.)

     

3.

Compute departmental overhead rates based on machine hours in the fabricating department and direct labor hours in the assembly department.(Round your answers to 2 decimal places.)

    

4.

Use departmental overhead rates from requirement 3 to determine the total manufacturing cost per unit for the aluminum desk lamps. (Round the intermediate calculations to 2 decimal places for overhead costs.)

     

In: Accounting

a.Suppose there are two goods, that the prices are given, and that there is a consumer...

a.Suppose there are two goods, that the prices are given, and that there is a consumer with a certain income. Show in a diagram it is possible to split the effect of price fall on good 1 into income- and substitution effects. Assume that the good is a normal good.

b.If the good had been an inferior good, what would have been different in the graph?

c.If the good had been a Giffen good, what would have beedifferent?

In: Economics