Questions
The main participants/ competitors in food/groceries industry?

The main participants/ competitors in food/groceries industry?

In: Economics

Company A offers you an initial salary of $150,000 with annual raises of 10% for the...

Company A offers you an initial salary of $150,000 with annual raises of 10% for the foreseeable future. Company B offers you $180,000 with annual raises of 8% for the foreseeable future.

A.) How many years will it take for the A salary to equal the B salary?

B.) How many years will it take for the total dollars received from A to equal the total dollars received from B?

In: Finance

Consider a binary classification problem where each example (observation) x has n features and class label...

Consider a binary classification problem where each example (observation) x has n features and class label y can take one of the two possible values: y = 1 (positive class label) and y = 0 (negative class label). Suppose a Logistic Regression model is trained using a training set and θ ∈ Rn is the learned parameter vector of this trained model. Show that given an unseen example x ∈ Rn having n features, the trained Logistic Regression model will predict its class label to be 1, if θ⊤x > 0 and class label to be 0 otherwise.

In: Computer Science

If a centrral bank were required to target inflation at zero, then when there was a...

If a centrral bank were required to target inflation at zero, then when there was a negative aggregate supply shock the central bank

a. would have to increase the money supply. This would move unemployment closer to the natural rate.

b. would have to increase the money supply. This would move unemployment further from the natural rate.

c. would have to decrease the money supply. This would move unemployment closer to the natural rate.

d. would have to decrease the money supply. This would move unemployment further from the natural rate.

In: Economics

As a technician in a large pharmaceutical research firm, you need to produce 400. mL of...

As a technician in a large pharmaceutical research firm, you need to produce 400. mL of 1.00 M a phosphate buffer solution of pH = 7.36. The pKa of H2PO4− is 7.21. You have 2.00 L of 1.00 M KH2PO4 solution and 1.50 L of 1.00 M K2HPO4 solution, as well as a carboy of pure distilled H2O. How much 1.00 M KH2PO4 will you need to make this solution?

In: Chemistry

Better Fitness Gear applies overhead on the basis of direct labor hours. Five direct labor hours...

Better Fitness Gear applies overhead on the basis of direct labor hours. Five direct labor hours are required for each unit produced. Planned production for the period was set at 8,000 units. Budgeted fixed manufacturing overhead for the period is budgeted at $20,000 and variable manufacturing overhead is budgeted at $100,000. The 48,500 hours worked during the period resulted in production of 9,500 units. Actual manufacturing overhead cost incurred was $156,000. Required: Calculate the three overhead variances:

a. Total Spending Variance

b. Total Efficiency Variance

c. Total Volume Variance

d. Proof: Total Factory Overhead Variances

e. Interpret your variances

In: Accounting

1. Superior Bake Shop sells a variety of baked goods online. Attributes of Baked Good include...

1. Superior Bake Shop sells a variety of baked goods online. Attributes of Baked Good include ProductID, ProductName, Product Category, Weight, and Price. Attributes of Customer include CustomerID, CustomerName, and CustomerAddress (composed of Street, City, State, and ZipCode). Customers place orders with Superior BakeShop. Attributes of order are OrderID and OrderDate. All customers have placed at least one order and customers may place many orders over time. Each order is placed by a single Customer. Orders can include one or more baked good. A baked good can be included in one or more order. Superior Bake Shop keeps track of the quantity of each baked good that is included in an order.

2. Blue Orchard Bake Shop (BOBS) offers a variety of baking workshop. BOBS keeps track of the workshops it offers as well as its teachers and students. Attributes of workshop include WorkshopID, Date, Time, and Fee. Attributes of teacher include TeacherID, TeacherName, (composed of FirstName, MiddleInitial, and LastName), PaymentPerWorkshop, and Skills. Many teachers have more than one skill. Attributes of student include StudentID, StudentName (composed of FirstName, MiddleInitial, and LastName), StudentAddress (composed of Street, City, State, and ZipCode), DateOfBirth, and Age. Students can participate in more than one workshop, but must participate in at least one workshop. Each workshop can have multiple students, but must have at least one student. All workshops are taught by a single teacher. Teachers can teach any number of workshops including zero in the case of a new teacher who has not yet offered a workshop.

3. Main Street Catering has residential, business, and school clients. Attributes of residential clients include ClientNumber, ClientName (composed of FirstName, MiddleInitial, and LastName), ClientAddress (composed of Street, City, State, and ZipCode), and NearestCrossStreets. For each residential client, the two nearest cross streets are stored. Attributes of business clients include ClientNumber, BusinessName, ClientAddress (composed of Street, City, State, and ZipCode), and AnnualCateringBudget. Attributes of school clients include ClientNumber, SchoolName, SchoolDistrictCode, and ClientAddress (composed of Street, City, State, and ZipCode). Some residential clients are also business clients, and some residential clients are also school clients. Main Street Catering has a few clients who are neither residential, nor business, nor school clients.

Draw a conceptual data model to model the scenario in each problem. Use the model constructs (e.g., the material on the E-R model and the enhanced E-R model) from chapters 2 and 3 as appropriate and follow the modeling conventions used in the example problems in the online lessons. Do not use the modeling conventions shown in Figure 2-22 of the Hoffer textbook which illustrate a data model in Visio notation. Be sure to include all appropriate completeness constraints, disjointness constraints, and subtype indicators in your conceptual data models.

In: Computer Science

The processing time for the shipping of packages for a company, during the holidays, were recorded...

The processing time for the shipping of packages for a company, during the holidays, were recorded for 48 different orders. The mean of the 48 orders is 10.5 days and the standard deviation is 3.08 days. Raw data is given below. Use a 0.05 significance level to test the claim that the mean package processing time is less than 12.0 days. Is the company justified in stating that package processing is completed in under 12 days?

1) Write Ho (null) and H1 (alternative) and indicate which is being tested

2) Perform the statistical test and state your findings; Write answer as a statement

Days
4.4
8.8
8.2
11.5
11
15.3
10.3
10.9
4.8
13.6
8.1
4.1
12.5
9.9
11.3
13.1
13.6
7.6
10.3
11.7
8.9
4
9.5
8.1
16.3
13.7
12.4
8.6
13.8
7.1
6.9
11.3
9.9
11.8
12.2
11.4
6.2
10
12.7
11.3
13.2
12
9
10
13.3
16.8
14.9
7.7

In: Math

Explain the customer-based equity pyramid

Explain the customer-based equity pyramid

In: Economics

Below are three methods: checkValidInput, getCoordinates and play. Looking at checkValidInput, I feel it is very...

Below are three methods: checkValidInput, getCoordinates and play. Looking at checkValidInput, I feel it is very longwinded and would like to modify by using a try/catch block for user input. How is this occomplised? Would I be able to get rid of checkValidInput method with a try/catch? Any code to help me out would be great.

public boolean checkValidInput(String input){
    ArrayList<String> numList = new ArrayList<String>();
    for (int i=0;i<10;i++){
        numList.add(""+i);
    }
    String[] coordinates = input.split(" ");
    //returns false if there are not 2 strings
    if (coordinates.length!=2){
        return false;
    }
    //returns false if first is String is not in between A and J
    if(coordinates[0].charAt(0)<'A' || coordinates[0].charAt(0)>'J')
        return false;
    //returns false if the second string is not a single digit number
    for (String str: coordinates[1]){
        if (numList.contains(str)==false){
            return false;
        }
    }
    //returns false if the coordinates have already been shot at
    int row = Integer.parseInt(coordinates[0]);
    int column = Integer.parseInt(coordinates[1]);
    if (this.availableSpot[row][column]==false){
        return false;
    }

    return true;
}
public int[] getCoordinates(String input)
{
    int[] coordinates = new int[2];
    String[] strList = input.split(" ");
    int row = (int) strList[0].charAt(0) - 65;
    int column = Integer.parseInt(strList[1]);
    coordinates[0] = row;
    coordinates[1] = column;
    return coordinates;
}
public void play()
{
    print(101);
    print(1);
    ocean.randomShipDeployment();
    boolean isGameOver = ocean.isGameOver();
    sc = new Scanner(System.in);

    //printOcean the ocean and start the game
    ocean.printOcean();
    print(3);
    while (!isGameOver)
    {
        print(2);
        String input = sc.nextLine();

        //check if input is valid
        while (!checkValidInput(input))
        {
            print(99);
            input = sc.nextLine();
        }

        //get coordinates and fire
        int[] coordinates = getCoordinates(input);
        int row = coordinates[0];
        int column = coordinates[1];
        ocean.shotFiredAtLocation(row, column);
        availableSpot[row][column] = false;
        isGameOver = ocean.isGameOver();
        ocean.printOcean();
        print(3);
        print(100);
    }
    //printOcean info saying you win
    print(4);
    print(5);
}

In: Computer Science

C++ programming,How to remove element from string without using the string::erase() function ? example: input string:"cheasggaa"...

C++ programming,How to remove element from string without using the string::erase() function ?

example:

input string:"cheasggaa"

element need to be removed:"ga"

output:"cheasga"

or:

input:"cekacssdka"

element:"ka"

output:"cecssd"

In: Computer Science

You are trying to pick the least-expensive car for your new delivery service. You have two...

You are trying to pick the least-expensive car for your new delivery service. You have two choices: the Scion xA, which will cost $21,500 to purchase and which will have OCF of –$2,700 annually throughout the vehicle’s expected life of three years as a delivery vehicle; and the Toyota Prius, which will cost $30,000 to purchase and which will have OCF of –$1,400 annually throughout that vehicle’s expected 4-year life. Both cars will be worthless at the end of their life. You intend to replace whichever type of car you choose with the same thing when its life runs out, again and again out into the foreseeable future.

    

If the business has a cost of capital of 12 percent, calculate the EAC. (Negative amounts should be indicated by a minus sign. Round your answers to 2 decimal places.)

     

  
  Scion's EAC $   
  Toyota's EAC $   

  

Which one should you choose?
Toyota
Scion

In: Finance

Discuss role play by Bank in the monetary system? How do bank create money? [10 Marks]

Discuss role play by Bank in the monetary system? How do bank create money?

[10 Marks]

In: Economics

Foreign Exchange Markets a. Define an exchange rate and Graph the foreign exchange market illustrating the...

Foreign Exchange Markets

a. Define an exchange rate and Graph the foreign exchange market illustrating the dollar price of the pound - label all curves and each axis

b. Explain what the demand and supply curves in this market measure

c. Explain how the exchange rate automatically eliminates surpluses and shortages in the Foreign Exchange Market.

d. If the foreign exchange ratio for USD/British Pound = $1.35; how much will it cost for an American to buy a $50 pair of shoes imported from Britain; How much will it cost an Englishman to buy a $50 pair of shoes exported from the US to Britain?

e. Identify one factor that causes a currency to depreciate - graph the solution. Repeat for depreciation.

In: Economics

A steady stream of philosophers, scientists, and management gurus have since echoed Adams, lamenting the acceleration...

A steady stream of philosophers, scientists, and management gurus have since echoed Adams, lamenting the acceleration and calling for similar leaps to fundamental new ways of thinking and acting. Many advocate the development of systems thinking—the ability to see the world as a complex system, in which we understand that “you can‟t just do one thing” and that “everything is connected to everything else ”.

- Explain what is meant by system dynamic and show how System dynamics is fundamentally interdisciplinary. (750 Words).

In: Operations Management