Questions
Write a full MIPS assembly code for: Function Compare(int A[][], int B[][], int M, int N,...

Write a full MIPS assembly code for: Function Compare(int A[][], int B[][], int M, int N, int i, int j, int k, int l). This function compares the elements of the array A placed between (i,j) and (k,l) with the corresponding elements of the array B placed between the same indexes. The function returns the number of elements of both matrices that coincide in the same position (c,d). That is, it is necessary to check each element A[c,d] with the element B[c,d], with (c,d) inside the corresponding indexes to (i,j) and (k,l), both included. The function accepts 8 arguments:

A: starting address of an integer matrix of MxN dimension.

B: starting address of an integer matrix of dimension MxN.

M: number of rows of the A and B matrix.

N: number of columns of the A and B matrix.

i: an integer corresponding to the row of the first element of the matrix to be considered.

j: a whole number corresponding to the column of the first element of the matrix to be considered. o

k: a whole number corresponding to the row of the last element of the matrix to be considered.

l: a whole number corresponding to the column of the last element of the matrix to be considered.

The function returns two values. In case of error, it simply returns a result with value -1. The possible errors are: o M or N are negative or zero. o The indexes passed as arguments (i,j,k, and l) are out of range. o The element (k,l) is previous in the matrix to the element (i,j). It will not be considered an error if (i,j) and (k,l) have the same value and refer to the same element. If no error is detected, the function returns as a first result the value 0 and as second the number of elements that coincide in the same position in the arrays A and B.

In: Computer Science

Consider the following option portfolio: You write a January 2012 expiration call option on IBM with...

Consider the following option portfolio: You write a January 2012 expiration call option on IBM with exercise price $172, and the price of the call option is $8.93. You also write a January expiration IBM put option with exercise price $167, the price of the put option is $10.85.

Instructions: for parts a, b, and c, enter your answer as a decimal rounded to the nearest cent.

a. What will be the profit/loss on this position if IBM is selling at $159 on the option expiration date? $  

b. What will be the profit/loss on this position if IBM is selling at $180 on the option expiration date? $  

c. At what two stock prices will you just break even on your investment (i.e., zero net profit)?

    For the put, this requires that: $  

    For the call this requires that: $  

d. What kind of “bet” is this investor making; that is, what must this investor believe about IBM’s stock price in order to justify the position?

  • betting that the IBM stock price will go up.

  • betting that the IBM stock price will go down.

  • betting that the IBM stock price will have low volatility.

  • betting that the IBM stock price will have high volatility.

In: Finance

List five sources for finding prospective employers; give one advantage and one disadvantage of each source.

List five sources for finding prospective employers; give one advantage and one disadvantage of each source.

In: Operations Management

Ethical issues on the data collection After watching the two videos on ethical issues on the...

Ethical issues on the data collection

After watching the two videos on ethical issues on the data collection titled “Belmont Report Educational” and “Belmont Report Educational(Part One: Basic Ethical Principles)” available to you in this week's course material, please reflect your understanding of the subject and provide us your perspective on this concept from your perspective

Your post should be 500-700 words long without counting the references and/or direct quotes.

In: Operations Management

Kim Inc. must install a new air conditioning unit in its main plant. Kim must install...

Kim Inc. must install a new air conditioning unit in its main plant. Kim must install one or the other of the units; otherwise, the highly profitable plant would have to shut down. Two units are available, HCC and LCC (for high and low capital costs, respectively). HCC has a high capital cost but relatively low operating costs, while LCC has a low capital cost but higher operating costs because it uses more electricity. The costs of the units are shown here. Kim's WACC is 5.5%.

0 1 2 3 4 5
HCC -$600,000 -$45,000 -$45,000 -$45,000 -$45,000 -$45,000
LCC -$90,000 -$175,000 -$175,000 -$175,000 -$175,000 -$175,000
  1. Which unit would you recommend?

    1. Since all of the cash flows are negative, the IRR's will be negative and we do not accept any project that has a negative IRR.
    2. Since all of the cash flows are negative, the NPV's cannot be calculated and an alternative method must be employed.
    3. Since all of the cash flows are negative, the NPV's will be negative and we do not accept any project that has a negative NPV.
    4. Since we are examining costs, the unit chosen would be the one that had the lower NPV of costs. Since LCC's NPV of costs is lower than HCC's, LCC would be chosen.
    5. Since we are examining costs, the unit chosen would be the one that had the lower NPV of costs. Since HCC's NPV of costs is lower than LCC's, HCC would be chosen.

    -Select-IIIIIIIVVItem 1

  2. If Kim's controller wanted to know the IRRs of the two projects, what would you tell him?

    1. The IRR of each project will be positive at a lower WACC.
    2. There are multiple IRR's for each project.
    3. The IRR of each project is negative and therefore not useful for decision-making.
    4. The IRR cannot be calculated because the cash flows are all one sign. A change of sign would be needed in order to calculate the IRR.
    5. The IRR cannot be calculated because the cash flows are in the form of an annuity.

    -Select-IIIIIIIVVItem 2

  3. If the WACC rose to 11% would this affect your recommendation?

    1. Since all of the cash flows are negative, the NPV's will be negative and we do not accept any project that has a negative NPV.
    2. When the WACC increases to 11%, the NPV of costs are now lower for LCC than HCC.
    3. When the WACC increases to 11%, the NPV of costs are now lower for HCC than LCC.
    4. When the WACC increases to 11%, the IRR for LCC is greater than the IRR for HCC, LCC would be chosen.
    5. When the WACC increases to 11%, the IRR for HCC is greater than the IRR for LCC, HCC would be chosen.

    -Select-IIIIIIIVVItem 3

    Why do you think this result occurred?

    1. The reason is that when you discount at a higher rate you are making negative CFs higher and this lowers the NPV.
    2. The reason is that when you discount at a higher rate you are making negative CFs smaller and this lowers the NPV.
    3. The reason is that when you discount at a higher rate you are making negative CFs smaller thus improving the NPV.
    4. The reason is that when you discount at a higher rate you are making negative CFs higher thus improving the IRR.
    5. The reason is that when you discount at a higher rate you are making negative CFs higher thus improving the NPV.

In: Finance

The following questions refer to the following system 3.5E2 ml of 3.2 M Pb (NO3)2 and...


The following questions refer to the following system 3.5E2 ml of 3.2 M Pb (NO3)2 and 2.0E2 mL of 0.020 M NaCl are added together. KSP for the chloride is 1.6E-5

a.) determine the ion product?
b.) will precipitation occur?
c.) What is the limiting reagent in the formation of lead chloride?
d.) Determine the equilibrium
concentration of the chloride ion?

In: Chemistry

BEA is considering a change in its capital structure. BEA currently has $20 million in debt...

BEA

is considering a change in its capital structure. BEA currently has $20 million in debt

carrying a rate of 8%, and its stock price is $40 per share with 2 million shares outstanding.

BEA is a zero

-

growth firm and pays out all its earnings as dividends. Th

e firm’s EBIT is

$14.933 million, and it faces a 40% federal

-

plus

-

state tax rate.

The market risk premium is 4% and the risk

-

free rate is 6%. BEA is considering increasing

its debt level to a capital structure with 40% debt, based on market values, and

repurchasing

shares with the extra money that is borrows. BEA will have to retire the old debt in order

to issue new debt, and the rate on the new debt will be 9%. BEA has a beta of 1.00

i.

What is BEA’s current WACC?

ii.

What is BEA’s unlevered beta?

(Hint: use

market values of debt to equity when

un

-

levering, which is the same as using

iii.

What’s BEA’s new beta and cost of equity?

iv.

What’s BEA’S new WACC

(after the change in capital

structure)

?

v.

What’s BEA’s total value of the firm with 40% debt? (after the recapitalization is

fully completed).

vi.

What’s BEA’S value of equity and debt, when debt is 40% of the capital structure?

vii.

What’s the value of a share before the repurchase?

viii.

After retiring the old debt, how much cash is left to repurchase shares?

ix.

How many shares will be outstanding after the rep

urchase?

x.

What will the price of a share be after the repurchase?

In: Finance

Theoretical Framework Written Assignments Culminating Project Part V: Research Questions and Theoretical Framework Research Question: Latham...

Theoretical Framework

Written Assignments

Culminating Project Part V: Research Questions and Theoretical Framework

Research Question: Latham (2014) suggested that the foundation of any good research is a good question. We are interested in developing management questions related to the research problem because answers to these questions offer actionable information. (Page 46-54)

Theory: Identifying one or two theories enables the researcher to address the research questions. In addition, a theory can help to recognize which constructs in the conceptual framework are relevant to the target problem.

Conceptual Framework: When formulating research questions, it is helpful to graph the main issues identified in the problem. A visual representation of these issues will enhance our understanding of how these issues are related to each other.

For the purpose of this assignment, please consider:

1) Formulate research questions in such a way that:

  • The answers they produce will be the new solutions to the problem stated in the project. As Latham (2014) suggested, the purpose of the study will be fulfilled once the problem is resolved.
  • They relate to the conceptual framework,
  • They are linked directly to the theories discussed in the literature review section of your project.

2) Select a theory that you believe is well suited for the targeted problem. Describe the theory and explain the extent to which its assumptions are similar to those in the research problem in your doctoral project.

3) Create a visual representation or conceptual framework of the issues identified in your doctoral project. Provide a brief description of the conceptual framework.

In: Operations Management

a)     Write a program that reads a list of integers, and outputs all even integers in the...

a)     Write a program that reads a list of integers, and outputs all even integers in the list. For example, if the input list is [1, 2, 13, 14, 25], the output list should be [2, 14].

b)    Based on your code for part (a), write a program that reads a list of integers, and reports True if all numbers in the list are even, and False otherwise. Example: For input [1, 2, 13, 14, 25], the output should be False.

Your program must define and call the following two functions.

evens() returns all even integers in the list are even.

all_even() returns True if all integers in the list are even and false otherwise.

Your code could look like this

#Your name here

def evens(thelist):
#your code goes here



def all_even(thelist):
#your code goes here



evens([1, 2, 13, 14, 25]) #should return [2,14]
all_even([1, 2, 13, 14, 25]) #should return False

In: Computer Science

1. (a) Suppose that, from 12 students, we want to take a committee of students. How...

1. (a) Suppose that, from 12 students, we want to take a committee of students. How many committees consisting of 4 students can be selected? How many committees consisting of 6 students can be selected?

(b) Suppose we want to select 3 out of 12 students and give them the first and second and third places. Determine the number of possible selections?

In: Finance

7. FX Exposure Management at BMW BMW Group, owner of the BMW, Mini and Rolls-Royce brands,...

7. FX Exposure Management at BMW

BMW Group, owner of the BMW, Mini and Rolls-Royce brands, has been based in Munich since its founding in 1916. But by 2011, only

17 per cent of the cars it sold were bought in Germany. In recent years, China has become

BMW’s fastest-growing market, accounting for 14 per cent of BMW’s global sales volume in

2011. India, Russia and eastern Europe have also become key markets.

The rapid globalization of its operations posed several new financial challenges. Despite rising sales revenues, BMW was conscious that its profits were often severely eroded by changes in exchange rates.   The company’s own calculations in its annual reports suggest that the negative effect of exchange rates totalled C2.4bn between 2005 and 2009. BMW did not want to pass on its exchange rate costs to consumers through price increases. Its rival Porsche had done so at the end of the 1980s in the US and sales had plunged.

To address the issues, BMW took a two-pronged approach to managing its foreign exchange exposure.   One strategy was to use a “natural hedge” – meaning it would develop ways to spend money in the same currency as where sales were taking place, meaning revenues would also be in the local currency. However, not all exposure could be offset in this way, so BMW decided it would also use formal financial hedges.   To achieve this, BMW set up regional treasury centres in the US, the UK and Singapore.

BMW implemented its new FX risk management strategy in several ways.   Regarding the natural hedge strategy it again followed a two-pronged implementation strategy.   The first involved establishing factories in the markets where it sold its products. The second involved making more purchases denominated in the currencies of its main markets. BMW now has production facilities for cars and components in 13 countries. In 2000, its overseas production volume accounted for 20 per cent of the total. By 2011, it had risen to 44 per cent. In the 1990s, BMW had become one of the first premium carmakers from overseas to set up a plant in the US – in Spartanburg, South Carolina. In 2008, BMW announced it was investing $750m to expand its Spartanburg plant. This would create 5,000 jobs in the US while cutting 8,100 jobs in Germany. This also had the effect of shortening the supply chain between Germany and the US market. The company boosted its purchasing in US dollars generally, especially in the North American Free Trade Agreement region. Its office in Mexico City made $615m of purchases of Mexican auto parts in 2009, expected to rise significantly in following years.

Since BMW’s fastest growing markets are in Asia it also had to rethink its Asian strategy in light of risk management needs. A joint venture with Brilliance China Automotive was set up in Shenyang, China, where half the BMW cars for sale in the country are now manufactured. The carmaker also set up a local office to help its group purchasing department to select competitive suppliers in China. By the end of 2009, Rmb 6bn worth of purchases were from local suppliers. Again, this had the effect of shortening supply chains and improving customer service. At the end of 2010, BMW announced it would invest 1.8bn rupees in its production plant in Chennai, India, and increase production capacity in India from 6,000 to 10,000 units. It also announced plans to increase production in Kaliningrad, Russia.

Meanwhile, the overseas regional treasury centres were instructed to review the exchange rate exposure in their regions on a weekly basis and report it to a group treasurer, part of the group finance operation, in Munich. The group treasurer team then consolidates risk figures globally and recommends actions to mitigate foreign exchange risk.

Using operating strategy to address FX risk brought other benefits. By moving production to foreign markets the company not only reduces its foreign exchange exposure but also benefits from being close to its customers. In addition, sourcing parts overseas, and therefore closer to its foreign markets, also helps to diversify supply chain risks.

(a) What is the nature of BMW’s FX exposure?   What fundamental financial principle should BMW use to neutralize the impact of FX rate movements on their results?

(b) How did BMW decide to tackle the problem? Do you see any problems with BMW’s approach and implementation?

(c) What differences if any exist in BMW’s approach to FX exposure management in North

America and Asia?

(d) Why did BMW decide to consolidate FX risk management globally in its Munich group treasury?   What principle are they implementing and what are its advantages for the group?

(e) BMW’s and Western Mining’s pursued to very different strategies to address FX expo- sure. What are their respective FX risk management strategies? Why did each company choose their respective strategy?

In: Finance

Using Java Although the long data type can store large integers, it cannot store extremely large...

Using Java

Although the long data type can store large integers, it cannot store extremely large values such as an integer with 100 digits. Create a HugeNumber class that uses a linked list of single digits to represent non-negative integers of arbitrary length. The class should include a method to add a new most significant digit to the existing number so that longer and longer numbers can be created. Also add methods to reset the number and to return the value of the huge integer as a String (is this toString?) along with appropriate constructor and accessor methods.

In addition to the requirements given above, implement an inner class iterator which will allow you to sequence through the digits of the HugeNumber one at a time.

Decide if the HugeNumber contains no digits, then converting it to a String should return a “-1” or an empty string and document your decision.

Submit program files for your HugeNumber class and of your class containing main. Include at least test cases for 3 huge numbers, each with 12 or more digits. Make sure to demonstrate the methods to reset the HugeNumber, to return the number as a String, and to iterate through the digits of the HugeNumber one at a time.

In: Computer Science

, the PESTEL and the FIVE FORCES models to analyze the situation and structuring the  Amazon’s rise...

  1. , the PESTEL and the FIVE FORCES models to analyze the situation and structuring the  Amazon’s rise is forcing laundry detergents to shrink.

In: Operations Management

Describe the layout design of walmart 's facilities . I need refernce as well for your...

Describe the layout design of walmart 's facilities .

I need refernce as well for your answer .

In: Operations Management

Hallmark Cards, Inc. v. Murley When a former Hallmark employee breaches a term in her severance...

Hallmark Cards, Inc. v. Murley

When a former Hallmark employee breaches a term in her severance contract, how much can Hallmark recover as damages?

iStockPhoto.com/RiverNorthPhotography

BACKGROUND AND FACTS Janet Murley was the vice president of marketing at Hallmark Cards, Inc., until Hallmark eliminated her position as part of a corporate restructuring. As a vice president, Murley had access to Hallmark’s confidential information, including its business plans, market research, and financial statements. In 2002, Murley and the company entered into a separation agreement. Murley agreed not to work in the greeting card or gift industry for a period of eighteen months and not to disclose any confidential information or retain any business records or documents relating to Hallmark. In exchange, Hallmark paid $735,000 to Murley as part of her severance package.

After the expiration of her noncompete agreement, Murley accepted a consulting position with Recycled Paper Greetings (RPG) for $125,000 and disclosed confidential Hallmark information to RPG. Hallmark filed a suit in a federal district court against Murley, alleging breach of contract. A jury returned a verdict in Hallmark’s favor and awarded $860,000 in compensatory damages (the $735,000 severance payment and $125,000 that Murley received from RPG). Murley appealed.

IN THE WORDS OF THE COURT …

BYE, Circuit Judge.

* * * *

With respect to the $735,000, Murley contends Hallmark was not entitled to a return of its full payment under the parties’ separation agreement because Murley fulfilled several material terms of that agreement (e.g., the * * * non-compete provisions). Under the circumstances, we cannot characterize the jury’s reimbursement of Hallmark’s original payment under the separation agreement as grossly excessive or glaringly unwarranted by the evidence. Hallmark’s terms under the separation agreement clearly indicated its priority in preserving confidentiality. At trial, Hallmark presented ample evidence that Murley not only retained but disclosed Hallmark’s confidential materials to a competitor in violation of the terms and primary purpose of that agreement. Thus, the jury’s determination that Hallmark was entitled to a full refund of its $735,000 is not against the weight of the evidence.

With respect to the remaining $125,000 of the jury award, Murley argues Hallmark can claim no entitlement to her compensation by RPG for consulting services unrelated to Hallmark. We agree. In an action for breach of contract, a plaintiff may recover the benefit of his or her bargain as well as damages naturally and proximately caused by the breach and damages that could have been reasonably contemplated by the defendant at the time of the agreement. Moreover, the law cannot elevate the non-breaching party to a better position than she would have enjoyed had the contract been completed on both sides. By awarding Hallmark more than its $735,000 severance payment, the jury award placed Hallmark in a better position than it would find itself had Murley not breached the agreement. The jury’s award of the $125,000 payment by RPG was, therefore, improper. [Emphasis added.]

DECISION AND REMEDY The U.S. Court of Appeals for the Eighth Circuit vacated the award of damages but otherwise affirmed the judgment in Hallmark’s favor. The appellate court remanded the case to the lower court to reduce the award of damages to include only the amount of Hallmark’s severance payment.

Question: Do you agree or disagree with the Court's decision and how would you have ruled? Fully explain.

In: Operations Management