## Management

Read and analyse the case study on Gymshark, a UK-based sportswear retailer. Then write a well-formulated essay in response to the following questions: Which of the four drivers of globalisation has been the most influential in the expansion of Gymshark and to what extent do you think it is a globalised business?

## Science/Math

A hydrogen atom is initially in the superposition state

a) What are the possible results of a measurement of the energy and with what probabilities would they occur? Plot a histogram of the measurement results. Calculate the expectation value of the energy.

b) What are the possible results of a measurement of the angular momentum operator L2 and with what probabilities would they occur? Plot a histogram of the measurement results. Calculate the expectation value of L2 .

c) What are the possible results of a measurement of the angular momentum component operator Lz and with what probabilities would they occur? Plot a histogram of the measurement results. Calculate the expectation value of Lz.

d) How do the answers to (a), (b), and (c) depend upon time?

## Economics

The University of Medford pays the full tuition for the children of faculty members at any university in the world. Recently, this policy has received bad publicity. The argument has been made that people in other occupations have to pay the tuition costs for their children and so should college professors. According to this argument, it is not fair to have these relatively well-paid people get subsidized in this manner. The board of trustees of the University of Medford has been asked to reconsider this policy. Provide an economic argument to explain why the board of trustees might want to continue this policy.

## Accounting

Excel Project: Well-Designed Visualizations The following visualization (viz) shows all state taxes and fees collected for the state of New York from 2014 to 2018, inclusive.

REQUIRED

For this viz, do the following:

1. Describe ways you would change the viz to (a) simplify the data presentation and (b) properly emphasize the objective of the stakeholder. Assume the objective of the stakeholder of this viz is to compare how each type of tax collections changes over time

2. Go to the student download page at http://www.pearsonglobaleditions.com and download the files labeled “P5-8NewYorkTaxes.xlsx”. Implement some of the ideas you suggested for part 1 to simplify the viz and emphasize importance.

## Computer Science

Both Windows Server 2012/R2 and Windows 8.1 can perform some server functions and some desktop functions, but important differences distinguish them. Windows 8.1 is configured to emphasize the user interface and is performance-tuned to run desktop applications. Windows Server 2012/R2, on the other hand, deemphasizes many of Windows 8.1’s user interface bells and whistles in favor of a less flashy and less resource-intensive user interface. In addition, Windows vServer 2012/R2 is performance-tuned to run background processes so that client computers can access network services faster. Speaking of network services, most Windows Server 2012/R2 editions can run the following network services, among others:

## Accounting

6 Time-Driven Activity-Based Costing (TDABC) in a Call Center Market Makers Inc. (MMI) provides a range of services to its retail clients—customer service for inquiries, order taking, credit checking for new customers, and a variety of related services. Auto Supermarket (AS) is a large auto dealer that provides financing for the autos and trucks that it sells. AS has approached MMI to manage the inquiries that come in regarding these loans. AS is not satisfied with the performance of the call center it currently uses for handling inquiries on these loans and is considering a change to MMI. MMI has been asked to estimate the cost of providing the service for the coming year. There are two types of loans at AS, one for autos and SUVs and another for light trucks. The loans for auto and truck buyers typically have different types of customers and loan terms, so the nature and volume of the inquiries are expected to differ. MMI would use its own call center to handle the AS engagement. The MMI call center’s annual costs are as follows:

Required 1. Determine the amount that MMI should propose to charge AS for the coming year using TDABC, assuming MMI desires a profit of 25% of incurred cost. 2. Suppose that AS wants the proposal broken down by type of loan (auto, truck). What would the proposal look like now?

## Computer Science

Digital Test & Equipment (DTE) is a distributor of test equipment used in mining and oil applications. When Mark Polonsky, of Albany Manufacturing, got the call from Amy Sheppard at DTE, he was excited. For over a year he worked to get DTE to carry Albany’s geothermal test equipment, but there was no progress— until today, when Amy asked if the Albany Geo-Core Xcel would handle conditions in the North Sea oil fields. “I don’t know,” Mark replied. “I’ve personally not had any customers drilling in that area, but I will ask our senior engineer and find out. What’s the situation?” “We’ve got a really good shot at landing some business from British Petroleum, but we’ve got some holes in our product line,” she replied. “I’m really thinking of making this an all-Albany pitch, which would be about a \$400,000 contract. Or I may give them two solutions, one all Albany and one a mix of other products.” She went on into detail about the conditions in which the Geo-Core would have to work so Mark would know what questions to ask. After the call, Mark called the senior engineer and asked if the product would work. Assured that it would, he went to work on a great proposal. Not only would a \$400,000 sale represent a month’s quota, he knew that DTE was good for five times that in its other accounts. This opportunity was huge! Amy called Mark immediately when she got his e-mail with the proposal attached. “This looks great, Mark! I think the all-Albany approach is best, so that’s what we’ll go with. I’ll submit this to BP tomorrow.” Two months later the first Geo-Cores were installed and operational. But within a week it was obvious that they weren’t up to the demanding weather conditions of the North Sea. The machines were breaking down on average about every four hours. Allison called Mark, quite upset with the results, particularly because BP now wanted to cancel the entire agreement.
Questions
1. Assume you are Mark. What should you do?
2. Does the stage of the buyer–seller relationship matter? Which buyer is most important, British Petroleum or DTE?
3. Your first call after hanging up with Allison is with the senior engineer who gave you the wrong information. He claims there is a simple fix, but a DTE engineer will have to make the trip there to do it, and that will be about a \$5,000 trip. First, what would you say to your manager who has to sign off on that expense? Second, how do you handle Allison?

## double operandTwo

Assignment 3 – Infix Evaluator The purpose of this assignment is to implement the Stack ADT using an array and then to use it in an algorithm to evaluate an infix mathematical expression. This assignment draws from the material covered

Assignment03.java A complete Java program used to test your code. Your assignment is to write a class called ArrayStack that implements the Stackinterface Java interface using Array-based data. You will also complete the InfixEvaluator class by writing code for the unfinished evaluate method,
Assignment03.java file. 2 Specification Your implementation should meet the following specifications: 1. Your Stack implementation class should be named “ArrayStack”. 2. ArrayStack should implement all methods as described in the Stackinterface Java interface provided. The documentation comments constitute the specification for the ArrayStack class. 3. The Stack implementation should use a generic standard Java array (not an ArrayList or any other class) to hold the data for the Stack. 4. The Stack implementation should utilize security measures including: a. Maximum Capacity checks b. Array integrity checks 5. The Stack implementation must resize the standard Java array so that the capacity of the Stack can grow as new items are added.

package assignment;

/**
* CPS231 – Fall 2021
* Assignment 3 – Infix Evaluator using the Stack ADT
*
* February 6, 2021
*
*
*/
public class Assignment03 {

public static void main(String[] args) {
// Evaluate the following expressions
// a=2,b=3,c=4,d=5,e=6
InfixEvaluator infixEvaluator = new InfixEvaluator();
infixEvaluator.setValue(‘a’, 2);
infixEvaluator.setValue(‘b’, 4);
infixEvaluator.setValue(‘c’, 3);
infixEvaluator.setValue(‘d’, 5);
System.out.println(“Testing infix expressions with:”);
System.out.println(” a = ” + infixEvaluator.valueOf(‘a’));
System.out.println(” b = ” + infixEvaluator.valueOf(‘b’));
System.out.println(” c = ” + infixEvaluator.valueOf(‘c’));
System.out.println(” d = ” + infixEvaluator.valueOf(‘d’));
System.out.println(“”);

testInfix(infixEvaluator, “a+b”, 6.0);
testInfix(infixEvaluator, “(a + b) * c”, 18.0);
testInfix(infixEvaluator, “a * b / (c – d)”, -4.0);
testInfix(infixEvaluator, “a / b + (c – d)”, -1.5);
testInfix(infixEvaluator, “a / b + c – d”, -1.5);
testInfix(infixEvaluator, “a^b^c”, 1.8446744073709552E19);
testInfix(infixEvaluator, “(a^b)^c”, 4096.0);
testInfix(infixEvaluator, “a*(b/c+d)”, 12.666666666666666);
testInfix(infixEvaluator, “e * (a – c) / (b – c)”, 0.0);
testInfix(infixEvaluator, “(b – c) * (a – c) / (b – c)”, -1.0);
System.out.println(“Done.”);

}
public static void testInfix(InfixEvaluator evaluator, String infixExpression, double expected)
{
final double TOLERANCE = 1.0e-9;
double result = evaluator.evaluate(infixExpression);
System.out.println(“Infix: “” + infixExpression + “”””””);
System.out.println(“”Result: “” + result);
if (Math.abs(result – expected) < TOLERANCE) {
System.out.println(“”TEST: OK””);
} else {
System.out.println(“”TEST: ERROR””);
}
System.out.println();
} // end testInfix

}

package assignment;

/**
* CPS231 – Fall 2021
* Assignment 03 – A class to evaluate infix expressions.
*
*
*/
public class InfixEvaluator {
/**
* private helper method to return the precedence value for a particular operator.
* @param operator
* @return
*/
private static int precedence(char operator) {
int result = -1;
switch (operator) {
case ‘(‘: case ‘)’: result = 0; break;
case ‘+’: case ‘-‘: result = 1; break;
case ‘*’: case ‘/’: result = 2; break;
case ‘^’: result = 3; break;
}
return result;
}
/**
* private helper method to compute the value of a basic infix operation
* @param operandOne
* @param operandTwo
* @param operator
* @return
*/
private static double compute(double operandOne