Questions
Gross profit $ and gross profit % for Walgreens Gross profit for 2018 = Revenue –...

Gross profit $ and gross profit % for Walgreens

Gross profit for 2018 = Revenue – Cost of Goods Sold = 131,537 – 100,745 = $30,792

Gross profit % for 2018 = Gross profit / total sales * 100 = $30,792 / $131,537 *100 = 23.41%

Gross profit for 2017 = 118,214 – 89,052 = $29,162

Gross profit % for 2017 = $29,162 / $118,214 *100 = 24,67%

Gross profit for 2016 = 117,351 – 87,477 = $29,874

Gross profit % for 2016 = $29,874 / 117,351 *100 = 25,46%

Gross profit $ and gross profit % for CVS

Gross profit for 2018 = 194,579 – 156,447 = $33,132

Gross profit % for 2018 = $33,132 / $194,579 *100 = 17.03%

Gross profit for 2017 =184,786 – 153,448 = $31,338

Gross profit % for 2017 = $31,338 / $184,786 *100 = 16.96%

Gross profit for 2016 = 177,546 – 146,533 = $31,013

Gross profit % for 2016 = $31,013 / $177,546 *100 = 17,47%

What do the results of this calculation mean in the context of Walgreens? How about CVS? Compare the two - why are they different (be as specific as possible).

In: Finance

Task #1 Writing a Copy Constructor 1.Copy the files Address.java(Code Listing 8.1), Person.java(Code Listing 8.2),Money.java(Code Listing...

Task #1 Writing a Copy Constructor

1.Copy the files Address.java(Code Listing 8.1), Person.java(Code Listing 8.2),Money.java(Code Listing 8.3), MoneyDemo.java(Code Listing 8.4), andCreditCardDemo.java(Code Listing 8.5) from the Student CD or as directed by your instructor. Address.java, Person.java, MoneyDemo.java, and CreditCardDemo.java are complete and will not need to be modified. We will start by modifying Money.java.

2.Overload the constructor. The constructor that you will write will be a copy constructor. It should use the parameter Money object to make a duplicate Moneyobject, by copying the value of each instance variable from the parameter object to the instance variable of the new object.

Task #2 Writing the equals and toString methods

1.Write and document an equals method. The method compares the instance variables of the calling object with instance variables of the parameter object for equality and returns true if the dollars and the cents of the calling object are the same as the dollars and the cents of the parameter object. Otherwise, it returns false.

2.Write and document a toString method. This method will return a String that looks like currency, including the dollar sign. Remember that if you have less than 10 cents, you will need to put a 0 before printing the cents so that it appears correctly with 2 decimal places.

3.Compile, debug, and test by running the MoneyDemo program. You should get the following output:

The current amount is $500.00

Adding $10.02 gives $510.02

Subtracting $10.88 gives $499.14

$10.02 equals $10.02

$10.88 does not equal $10.02

Task #3 Passing and Returning Objects

1.Create theCreditCardclass according to the UML diagram. It should have data fields that include an owner of type Person, a balance of type Money, and a creditLimit of type Money.

2.It should have a constructor that has two parameters, a reference to a Person object to initialize the owner and a reference to a Money object to initialize the creditLimit. The balance can be initialized to a Money object with a value of zero. Remember you are passing in objects (passed by reference), so you are passing the memory address of an object. If you want your CreditCard to have its own creditLimit and balance, you should create a new object of each using the copy constructor in the Moneyclass

3. It should have accessor methods to get the balance and the creditLimit. Since these are Money objects (passed by reference), we don’t want to create a security issue by passing out addresses to components in our CreditCard class, so we must return a new object with the same values. Again, use the copy constructor to create a new object of type Money that can be returned.

4. It should have an accessor method to get the information about the owner, but in the form of a String that can be printed out. This can be done by calling the toString method for the owner (an instance of the Person class).

5. It should have a method that will charge to the CreditCard by adding the amount passed in the parameter to the balance, but only if it will not exceed the creditLimit. If the creditLimit will be exceeded, the amount should not be added, and an error message can be printed to the console.

6. It should have a method that will make a payment on the CreditCard by subtracting the amount passed in the parameter from the balance.

7. Compile, debug, and test it out completely by running the CreditCardDemo program.

8. You should get the output:

Diane Christie, 237J Harvey Hall, Menomonie, WI 54751

Balance: $0.00

Credit Limit: $1000.00

Attempting to charge $200.00

Charge: $200.00 Balance: $200.00

Attempting to charge $10.02

Charge: $10.02 Balance: $210.02

Attempting to pay $25.00

Payment: $25.00 Balance: $185.02

Attempting to charge $990.00

Exceeds credit limit

Balance: $185.02

Code Listing 8.1 (Address.java)

/** This class defines an address using a street,

city, state, and zipcode. */

public class Address

{

// The street number and name

private String street;

// The city in which the address is located

private String city;

// The state in which the address is located

private String state;

// The zip code associated with the city and street

private String zip;

/**

Constructor

@param road Describes the street number and name.

@param town Describes the city.

@param st Describes the state.

@param zipCode Describes the zip code.

*/

public Address(String road, String town, String st, String zipCode)

{

street = road;

city = town;

state = st;

zip = zipCode;

}

/**

The toString method

@return Information about the address.

*/

public String toString()

{

return (street + ", " + city + ", " + state + " " + zip); } }

Code Listing 8.2 (Person.java)

/**

This class defines a person by name and address.

*/ public class Person

{

// The person's last name private String lastName;

// The person's first name private String firstName;

// The person's address private Address home;

/** Constructor

@param last The person's last name.

@param first The person's first name.

@param residence The person's address.

*/

public Person(String last, String first, Address residence)

{ lastName = last;

firstName = first;

home = residence; }

/**

The toString method @return Information about the person.

*/ public String toString()

{

return(firstName + " " + lastName + ", " + home.toString()); } }

Code Listing 8.3 (Money.java)

/** This class represents nonnegative amounts of money. */

public class Money

{

// The number of dollars private long dollars;

// The number of cents private long cents;

/** Constructor

@param amount The amount in decimal format. */

public Money(double amount)

{

if (amount < 0)

{

System.out.println("Error: Negative amounts " + "of money are not allowed.");

System.exit(0);

}

else { long allCents = Math.round(amount * 100); dollars = allCents / 100; cents = allCents % 100; } }

// ADD LINES FOR TASK #1 HERE

// Document and write a copy constructor

/**

The add method @param otherAmount The amount of money to add. @return The sum of the calling Money object and the parameter Money object. */

public Money add(Money otherAmount)

{ Money sum = new Money(0);

sum.cents = this.cents + otherAmount.cents;

long carryDollars = sum.cents / 100;

sum.cents = sum.cents % 100;

sum.dollars = this.dollars + otherAmount.dollars + carryDollars; return sum; }

/** The subtract method @param amount The amount of money to subtract. @return The difference between the calling Money object and the parameter Money object. */

public Money subtract (Money amount)

{ Money difference = new Money(0);

if (this.cents < amount.cents)

{

this.dollars = this.dollars - 1;

this.cents = this.cents + 100;

}

difference.dollars = this.dollars - amount.dollars;

difference.cents = this.cents - amount.cents;

return difference; }

/** The compareTo method

@param amount The amount of money to compare against.

@return -1 if the dollars and the cents of the calling object are less than the dollars and the cents of the parameter object. 0 if the dollars and the cents of the calling object are equal to the dollars and cents of the parameter object. 1 if the dollars and the cents of the calling object are more than the dollars and the cents of the parameter object. */

public int compareTo(Money amount)

{ int value;

if(this.dollars < amount.dollars) value = -1;

else if (this.dollars > amount.dollars) value = 1;

else if (this.cents < amount.cents) value = -1;

else if (this.cents > amount.cents) value = 1;

else value = 0; return value; }

// ADD LINES FOR TASK #2 HERE

// Document and write an equals method

// Document and write a toString method }

Code Listing 8.4 (MoneyDemo.java)

/** This program demonstrates the Money class. */

public class MoneyDemo

{

public static void main(String[] args)

{

// Named constants

final int BEGINNING = 500; // Beginning balance

final Money FIRST_AMOUNT = new Money(10.02);

final Money SECOND_AMOUNT = new Money(10.02);

final Money THIRD_AMOUNT = new Money(10.88);

// Create an instance of the Money class with

// the beginning balance.

Money balance = new Money(BEGINNING);

// Display the current balance. System.out.println("The current amount is " + balance.toString());

// Add the second amount to the balance

// and display the results.

balance = balance.add(SECOND_AMOUNT); System.out.println("Adding " + SECOND_AMOUNT + " gives " + balance.toString());

// Subtract the third amount from the balance

// and display the results.

balance = balance.subtract(THIRD_AMOUNT);

System.out.println("Subtracting " + THIRD_AMOUNT + " gives " + balance.toString());

// Determine if the second amount equals

// the first amount and store the result. boolean equal = SECOND_AMOUNT.equals(FIRST_AMOUNT);

// Display the result.

if(equal)

{

// The first and second amounts are equal.

System.out.println(SECOND_AMOUNT + " equals " + FIRST_AMOUNT);

}

else

{

// The first and second amounts are not equal. System.out.println(SECOND_AMOUNT + " does not equal " + FIRST_AMOUNT); }

// Determine if the third amount equals

// the first amount and store the result.

equal = THIRD_AMOUNT.equals(FIRST_AMOUNT);

// Display the result.

if(equal)

{

// The third and first amounts are equal.

System.out.println(THIRD_AMOUNT + " equals " + FIRST_AMOUNT);

}

else

{

// The third and first amounts are not equal.

System.out.println(THIRD_AMOUNT + " does not equal " + FIRST_AMOUNT); } } }

Code Listing 8.5 (CreditCardDemo.java)

/** This program demonstrates the CreditCard class. */

public class CreditCardDemo

{

public static void main(String[] args) {

// Named constants final Money CREDIT_LIMIT = new Money(1000);

final Money FIRST_AMOUNT = new Money(200);

final Money SECOND_AMOUNT = new Money(10.02);

final Money THIRD_AMOUNT = new Money(25);

final Money FOURTH_AMOUNT = new Money(990);

// Create an instance of the Person class. Person owner = new Person("Christie", "Diane", new Address("237J Harvey Hall", "Menomonie", "WI", "54751"));

// Create an instance of the CreditCard class. CreditCard visa = new CreditCard(owner, CREDIT_LIMIT);

// Display the credit card information.

System.out.println(visa.getPersonals()); System.out.println("Balance: " + visa.getBalance()); System.out.println("Credit Limit: " + visa.getCreditLimit()); System.out.println(); // To print a new line

// Attempt to charge the first amount and

// display the results.

System.out.println("Attempting to charge " + FIRST_AMOUNT);

visa.charge(FIRST_AMOUNT);

System.out.println("Balance: " + visa.getBalance());

System.out.println();

// To print a new line

// Attempt to charge the second amount and

// display the results.

System.out.println("Attempting to charge " + SECOND_AMOUNT);

visa.charge(SECOND_AMOUNT);

System.out.println("Balance: " + visa.getBalance());

System.out.println(); // To print a new line

// Attempt to pay using the third amount and

// display the results.

System.out.println("Attempting to pay " + THIRD_AMOUNT);

visa.payment(THIRD_AMOUNT);

System.out.println("Balance: " + visa.getBalance());

System.out.println();

// To print a new line

// Attempt to charge using the fourth amount and

// display the results.

System.out.println("Attempting to charge " + FOURTH_AMOUNT);

visa.charge(FOURTH_AMOUNT);

System.out.println("Balance: " + visa.getBalance());

} }

In: Computer Science

Sketch the linearized Bode plots of system function given below. Ensure to properly label the graph....

Sketch the linearized Bode plots of system function given below. Ensure to properly label the graph. H(s) = 10^9 (s + 100)(s + 1000) / (s^2 + 15000s + 100 × 10^6)(s + 100 × 10^3)

In: Electrical Engineering

Eve borrows 10,000. The loan is being repaid with the following sequence of monthly payments: 100,...

Eve borrows 10,000. The loan is being repaid with the following sequence of monthly payments: 100, 150, 100, 150, 100, 150, etc. The annual nominal interest rate is 7.56% payable monthly.

Calculate the amount of principal repaid in the 13th payment.

In: Finance

1. Which government activity is not an example of fiscal policy( TAXATION & SPENDING)? a) Collecting...

1. Which government activity is not an example of fiscal policy( TAXATION & SPENDING)?

a) Collecting unemployment insurance taxes

b) Collecting gasoline taxes

c) Providing solar energy subsidies

d) Buying missiles from defense contractors

e) Regulating natural monopolies

2. Confidence in Keynesian economics:

            a) Diminished in the 1960’s as inflation recurred.

            b) Diminished in the 1960’s as inflation occurred simultaneously with two recessions.

            c) Diminished in the 1960’s as unemployment recurred.

            d) Diminished in the 1970’s with “stagflation”

            e) Flourished through the 1980’s.

3. A change in income will
            a) Affect demand and supply the same.

            b) Affect quantity supplied through the income effect shift supply curve.

            c) Shift the demand curve.

            d) Have no effect since everything is held constant along a demand curve.

            e) Have a different effect on demand depending on equilibrium price.

4. The division of labor refers to:

            a) Having each worker or firm specialize in a separate task.

            b) Separating workers by race.

            c) Letting everyone share in a specific task.

            d) Letting each worker make a separate product from start to finish.

            e) Separating management from workers.

5. A price ceiling imposed by the government result in an:

            a) Excess demand at equilibrium price.

            b) Excess demand at the price ceiling.

            c) Excess supply at the price ceiling.

            d) Excess supply at equilibrium price.

            e) Excess demand at a price above the equilibrium.

6. The circular flow of the economy is primarily used to trace the flow of:

            a) Money through the economy.

            b) Consumer spending through the economy.

            c) Goods through the economy.

            d) Resources, production, and money through the economy.

            e) Resources through the production process.

7. If the price level is above the equilibrium level:

            a) The resulting excess demand will force the price level down.

            b) The resulting excess demand will force the price level up.

            c) The resulting excess supply will force the price level up.

            d) The resulting excess supply will force the price level down.

            e) The resulting unemployment will force the price level up.

8. A “laissez-faire” approach to the macroeconomy before the Great Depression influences our government to:

            a) See business downturns as a “serious malady” in a “healthy” system, and therefore take only short-term deficit spending measures to help recovery.

            b) See business downturns as a “serious malady” to an otherwise “healthy system,” and therefore wait for recovery to occur naturally.

            c) See business downturns as a “serious malady” to an otherwise “healthy system,” and therefore work to redesign the system to avoid such failure in the future.

            d) See business downturns as a failure of the type of system Adam Smith envisaged, and thus move toward a modern, more managed economy.

            e) See business downturns as a failure of the current system to be the type that Adam Smith envisaged, and thus move toward less government interference in the macro economy

9. Keynes believed that the Great Depression was caused by:

            a) Unemployment.

            b) Deficit spending by the government.

            c) The tax increases put through by President Herbert Hoover.

            d) The policies of “demand-style” economies.

            e) A fall in aggregate demand.

10. Keynes believed that the best method for ending the Great Depression would be to:

            a) Increase the money supply so that individuals would have more to spend.

            b) Cut government spending and increase taxes to reduce.

            c) Increase government spending and cut taxes so that consumers would spend more.

            d) Cut both government spending and taxes so that government would not be such a large     part of the economy.

            e) Increase both government spending and taxes to increase the role government played     in the economy.

11. Keynes was:

            a) In favor of a federal budget deficit to cure an inflation.

            b) Opposed to a federal budget surplus to cure an inflation.

            c) In favor of a federal budget deficit to cure a recession.

            d) In favor of a federal budget deficit regardless of the state of the economy.

12. Proponents of monetarism:

            a) Feel that fiscal policy of worthless.

            b) View government spending as the most important public policy tool.

            c) View taxation as the most important public policy tool.

            d) Support Keynesian economics.

            e) View the money supply as the most important public policy tool.

13. The word “stagflation” describes a situation in which:

            a) Inflation is stagnated.

            b) Inflation increases with economic growth.

            c) Inflation and unemployment occur at the same time.

            d) Inflation is low enough to grow economic growth.

            e) Inflation is zero.

14. The main difference between economic change before 1970 and after 1970 is that before 1970:

            a) Most macroeconomic instability was caused by simultaneous shifts in aggregate demand and aggregate supply.

            b) Most macroeconomic instability was caused by shifts in aggregate supply.

            c) Most macroeconomic instability was caused by shifts in aggregate demand.

            d) The government assumed no direct responsibility for the level of employment.

            e) The government itself was a much less important player in the macroeconomy.

15. The labor force consists of:

            a) All the people in the economy.

            b) All the people in the economy over 16 years of age.

            c) All the adults in the economy able to work.

            d) All the adults in the economy who hold jobs or are looking for them.

            e) All the adults in the economy qualified to hold a job.

16. Consider an economy with 100 people, 70 of whom hold jobs and 10 of whom are looking. The number of people in the labor force is:

            a) 100

            b) 30

            c) 10

            d) 80

            e) 70

17. Consider an economy with 100 people, 70 of whom hold jobs and 10 of whom are looking. The rate of unemployment is:

            a) 10 percent.

            b) 12.5 percent.

            c) 14.3 percent.

            d) 20 percent.

18. The labor force participation rate for women in the United States has

            a) Stayed the same over the last 30 years      

            b) Increased significantly since the 1950s     

            c) Been influenced by decreasing real wages since 1960     

            d) Trended substantially downward since the 1950s

            e) Increased only very slightly since the 1950s

In: Economics

c- The check-cashing store also makes one-month add-on interest loans at 8 percent discount interest per...

c- The check-cashing store also makes one-month add-on interest loans at 8 percent discount interest per week. Thus if you borrow $100 for one month (four weeks),the interest will be ($100 × 1.084 ) − 100 = $36.05. Because this is discount interest, your net loan proceeds today will be $63.95. You must then repay the store $100 at the end of the month. To help you out, though, the store lets you pay off this $100 in installments of $25 per week. What is the APR of this loan? What is the EAR? (Round your answers to 2 decimal places. (e.g., 32.16))

In: Finance

Question We have two investment projects A&amp;B. Both projects cost $250, and we require a 15%...

Question
We have two investment projects A&amp;B. Both projects cost $250, and we require a 15% return of the two
investments.
Year A B
1 $100 $100
2 $100 $200
3 $100 0
4 $100 0
a) Based on the payback period rule, which project would you pick? Explain.
b) Based on the NPV rule, which project would you pick? Explain.
c) Do a) and b) give you the same conclusion? If not, why? Please elaborate.
d) What other methods can you use to evaluate proposed investments? Please explain.

In: Finance

Useful Art Inc. creates and manufactures objects that are characterized by both utility and artistry. One...

Useful Art Inc. creates and manufactures objects that are characterized by both utility and artistry. One of its most popular products is the trivet (a 3-legged hot plate). The top of each trivet is a unique, handmade ceramic tile. Useful Art buys the tiles from artists and the trivet legs from a metal-working company, then assembles the trivets in-house. Towards the end of 2015, Useful Art prepares monthly budgets for 2016 using the following assumptions and data:

2015 actual sales:

Jan 300 u

Apr 350 u

Feb 325 u

May 345 u

Mar 275 u

Jun 370 u

Selling price per unit 50 $/u

Useful Art plans to launch a marketing campaign in 2016 that should increase sales (units) by 10% over 2015 sales as long as the selling price remains unchanged. Because each trivet is unique, management wants to have a substantial number of trivets on hand at all times so that customers can choose from among many options. So management plans to have 20% of next month's sales (units) on hand at the end of each month. The artists from whom Useful Art purchases the ceramic tiles do great work, but are sometimes a bit unreliable as to when they deliver the tiles. So management wants to have 30% of next month's production needs (tiles) on hand at the end of each month. The metal-working supplier is very reliable, so management wants to have just 15% of next month's production needs (legs) on hand at the end of each month Useful Art pays $35 per tile. • Useful Art pays $.45 per leg. • Useful Art has collected the following data related to cash inflows from sales: 20% of sales revenues are collected in the month of sale 70% of sales revenues are collected in the month after the sale 10% of sales revenues are collected two months after the sale

REQUIRED: Prepare the following budgets on a monthly basis for Useful Art for 2016: 1. Sales Budget (first two quarters of 2016) 2. Production Budget (first quarter of 2016) 3. Materials Purchases Budget (tiles) (first quarter of 2016) 4. Materials Purchases Budget (legs) (first quarter of 2016) 5. Cash Receipts (AKA Cash Collections) Budget (second quarter of 2016)

In: Accounting

There are two companies, X and Y, that produce two identical products, A and B. If...

There are two companies, X and Y, that produce two identical products, A and B. If their labor productivity of the respective products is as follows, determine the following advantages:

Product A Product B
Company X 100 units per labor hour 30 units per labor hour
Company Y 40 units per labor hour 60 units per labor hour

Who has the absolute advantage in producing A: ______;

Who has the absolute advantage in producing B: ______;

Who has the comparative advantage in producing A: ______;

Who has the comparative advantage in producing B: ______;

  • A. Y, X, Y, X.

  • B. X, Y, Y, X.

  • C. X, Y, X, Y.

  • D. X, X, X, X.

A. Substitutes
B. The Law of Demand
C. Surplus/ over supply
D. Inferior goods.
E. Complements.
F. Normal goods.
G. Market equilibrium
H. The Law of Supply
I. Shortage
selectABCDEFGHI 1. Else the same, when price goes up, quantity demanded decreases, and when price falls, quantity demanded increases.
selectABCDEFGHI 2. Else the same, when price falls, quantity supplied decreases, and when price goes up, quantity supplied increases.
selectABCDEFGHI 3. Products that serve similar functions and from which people choose one or another.
selectABCDEFGHI 4. Products that are complementary to each other and consumed together.
selectABCDEFGHI 5. Products that people buy more when they have a higher income.
selectABCDEFGHI 6. Products that people buy less when they have a higher income.
selectABCDEFGHI 7. A situation where quantity demanded is equal to quantity supplied at a particular price and the market is clear.
selectABCDEFGHI 8. A situation where quantity demanded is higher than quantity supplied.
selectABCDEFGHI 9. A situation where quantity demanded is lower than quantity supplied.

In: Economics

1. Suppose the federal government allows labor unions to act as the sole seller in labor...

1. Suppose the federal government allows labor unions to act as the sole seller in labor markets, but the government collects a $1 per hour fee to cover unemployment insurance for each union worker. Assuming this fee is not so large that it forces the unions to disband, what is the impact of this fee on the equilibrium wage and employment level in the monopolized labor market?

After-tax wages increase and employment declines.

After-tax wages and employment decline.

No change in after-tax wages or employment levels.

Employment increases and after-tax wages decline.

2. Suppose the labor market is perfectly competitive, but the output market is not. When the labor market is in equilibrium, the wage rate will:

be greater than price times the marginal product of labor.

equal price times the marginal product of labor.

be less than price times the marginal product of labor.

None of the above is necessarily correct.

3. Scenario 14.4:   John's firm is a competitor in your product market and a monopsonist in the labor market. The current market price of the product that your firm produces is $2. The total product and marginal product of labor are given as:

TP = 100L - 0.125L 2 MP = 100 - 0.25L  

where L is the amount of labor employed. The supply curve for labor and the marginal expenditure curve for labor are given as follows:

L = P L -5 ME L = 2L + 5

Refer to Scenario 14.4. Suppose that the price of the product rises to $5. Which of the following curves shifts?

MP curve

Marginal expenditure curve

MRP curve

Supply of labor curve

Refer to Scenario 14.4. Suppose that a pollution tax is imposed on each unit of a firm's output. The number of workers hired

will not change.

will decrease.

will increase.

will change in an indeterminate fashion.

4, in the competitive output market for good Q, the marginal revenue product for an input X can be expressed as

MPX / TRQ.

APX MRQ.

MPX PQ

MPQ MRX.

In: Economics