Questions
Mom's Cookies Inc. is considering the purchase of a new cookie oven. The original cost of...

Mom's Cookies Inc. is considering the purchase of a new cookie oven. The original cost of the old oven was $30,000; it is now fie years old, and it has a current market value of $13,333.33. The old oven is being depreciated over a 10-year life toward a zero estimated salvage value on a straight-line basis, resulting in a current book value of $15,000 and an annual depreciation expense of $3,000. The old oven can be used for six more years but has no market value after its depreciable life is over. Management is contemplating the purchase of a new oven whose cost is $25,000 and whose estimated salvage value is zero. Expected before-tax cash savings from the new oven are $4,000 a year over its full MACRS depreciable life. Depreciation is computed using MACRS over a five-year life, and the cost of capital is 10 percent. Assume a 40 percent tax rate. What will the cash flows for this project be? (LG5)

I have to show the work and I do not get it. There is no missing data this is the entire question. Please tell me what data is missing?

In: Finance

In business terms, what’s the difference between trying to steal clients from your old employer and...

In business terms, what’s the difference between trying to steal clients from your old employer and trying to steal market share? In ethical terms, what’s the difference?

In: Operations Management

ONLY looking for part B!! a. Using C++, define a node structure of the linked list...

ONLY looking for part B!! a. Using C++, define a node structure of the linked list (e.g. value is an integer, next is a node type pointer), construct a linked list of 10 nodes and assign random numbers as the nodes’ values. Use loop to track and print from the first node to the last and output all nodes’ values. Finally, free all memories of the linked list. b. Based on 2.a, (1) define a function which takes the header as parameter, the function will create a new node and assign its value 100; then insert this node at the sixth position of the list; (2) define another function which recursively print the list forwards to verify the result; (3) define the 3rd function which takes the header as parameter, the function will delete the eighth node of the list to keep the linked list having 10 nodes, and (4) define the 4th function which recursively to print the linked list backwards. After creating the four functions, revise your program 2.a, before delete all memories of the list, call the four functions in order to verify the results.

In: Computer Science

in C++, #include<iostream> using namespace std; const int NUM = 10; void prepareArr(int a[]); int countEven...

in C++,

#include<iostream>

using namespace std;

const int NUM = 10;

void prepareArr(int a[]);

int countEven (int b[]);

int main() {

int arr[NUM];

// write a statement to call prepareArr to set values for the array


// write a statement to call countEven and print the data returned



for(int i = 0; i<NUM; i++)

cout << arr[i] <<" ";

cout <<endl;

return 0;

}

void prepareArr(int a[])

{

//randomly generate NUM integers in the range [0,99] and save them in the array parameter.

}

int countEven (int b[])

{

//count the number of even integers in the array parameter and return the number, note that the size of the array is specified with NUM.

}

Previous

In: Computer Science

Change Management is a process used to ensure that overall business risk is minimized by responding...

Change Management is a process used to ensure that overall business risk is minimized by responding to customers business requirements while minimizing value and reducing incidents, disruption, and re-work. Of the following is seven Rs of Change Management (Raised; Reason; Return; Risks; Resources; Responsible; Relationship) Discuss.

In: Operations Management

Analyze the cost data below for the Costbusters Company. Graph the percent of quality costs by...

Analyze the cost data below for the Costbusters Company.

  1. Graph the percent of quality costs by product?

  2. What are the dollar costs for each cost of quality category, by product? Graph

  3. How might this information be used to help define a Six Sigma project?

    PRODUCT A PRODUCT B PRODUCT C
    Total Sales
    Total quality cost as a percent of sales 24% 19% 15%
    External Failure 35% 22% 8%
    Internal Failure 52% 29% 24%
    Appraisal 10% 38% 38%
    Prevention 3% 11% 30%

    Can this problem be solved in minitab with graphs or Excel showing each steps? This is for my lean six sigma class

In: Computer Science

A vapor-compression refrigeration system for a household refrigerator has a refrigerating capacity of 1650 Btu/h. Refrigerant...

A vapor-compression refrigeration system for a household refrigerator has a refrigerating capacity of 1650 Btu/h. Refrigerant enters the evaporator at -15°F and exits at 20°F. The isentropic compressor efficiency is 75%. The refrigerant condenses at 125°F and exits the condenser subcooled at 100°F. There are no significant pressure drops in the flows through the evaporator and condenser.


For Refrigerant 134a as the working fluid, determine:

(a) the evaporator and condenser pressures, each in lbf/in.2

(b) the mass flow rate of refrigerant, in lb/min.

(c) the compressor power input, in horsepower.

(d) the coefficient of performance.

In: Mechanical Engineering

3) Why is the new law allowing the sale of marijuana in Colorado so controversial? 4)...

3) Why is the new law allowing the sale of marijuana in Colorado so controversial?

4) Why are the surrounding states suing the state of Colorado?

5) What are the short-term and the long-term effects of smoking marijuana 3-7 times per week for 3 years or more? ..... cognition/memory; male sexual reproduction; motivation Search entries or author

In: Economics

Objective: Upon completion of this program, you should gain experience with overloading basic operators for use...

Objective: Upon completion of this program, you should gain experience with overloading basic operators for use with a C++ class.

The code for this assignment should be portable -- make sure you test with g++ on linprog.cs.fsu.edu before you submit.

Task

Create a class called Mixed. Objects of type Mixed will store and manage rational numbers in a mixed number format (integer part and a fraction part). The class, along with the required operator overloads, should be written in the files "mixed.h" and "mixed.cpp".

Details and Requirements

  1. Your class must allow for storage of rational numbers in a mixed number format. Remember that a mixed number consists of an integer part and a fraction part (like 3 1/2 -- "three and one-half"). The Mixed class must allow for both positive and negative mixed number values. A zero in the denominator of the fraction part constitutes an illegal number and should not be allowed. You should create appropriate member data in your class. All member data must be private.
  2. There should be two constructors. One constructor should take in three parameters, representing the integer part, the numerator, and the denominator (in that order), used to initialize the object. If the mixed number is to be a negative number, the negative should be passed on the first non-zero parameter, but on no others. If the data passed in is invalid (negatives not fitting the rule, or 0 denominator), then simply set the object to represent the value 0. Examples of declarations of objects:
     Mixed m1(3, 4, 5);    // sets object to 3 4/5 
     Mixed m2(-4, 1, 2);   // sets object to -4 1/2 
     Mixed m3(0, -3, 5);   // sets object to -3/5 (integer part is 0). 
     Mixed m4(-1, -2, 4);  // bad parameter combination.  Set object to 0. 
    

    The other constructor should expect a single int parameter with a default value of 0 (so that it also acts as a default constructor). This constructor allows an integer to be passed in and represented as a Mixed object. This means that there is no fractional part. Example declarations:

     Mixed m5(4);  // sets object to 4 (i.e. 4 and no fractional part). 
     Mixed m6;     // sets object to 0 (default)
    
    Note that this last constructor will act as a "conversion constructor", allowing automatic type conversions from type int to type Mixed.
  3. The Mixed class should have public member functions Evaluate(), ToFraction(), and Simplify(). The Evaluate() function should return a double, the others don't return anything. These functions have no parameters. The names must match the ones here exactly. They should do the following:
    • The Evaluate function should return the decimal equivalent of the mixed number.
    • The Simplify function should simplify the mixed number representation to lowest terms. This means that the fraction part should be reduced to lowest terms, and the fraction part should not be an improper fraction (i.e. disregarding any negative signs, the numerator is smaller than the denominator).
    • The ToFraction function should convert the mixed number into fraction form. (This means that the integer part is zero, and the fraction portion may be an improper fraction).
  4. Create an overload of the extraction operator >> for reading mixed numbers from an input stream. The input format for a Mixed number object will be:
     integer numerator/denominator 
    

    i.e. the integer part, a space, and the fraction part (in numerator/denominator form), where the integer, numerator, and denominator parts are all of type int. You may assume that this will always be the format that is entered (i.e. your function does not have to handle entry of incorrect types that would violate this format). However, this function should check the values that come in. In the case of an incorrect entry, just set the Mixed object to represent the number 0, as a default. An incorrect entry occurs if a denominator value of 0 is entered, or if an improper placement of a negative sign is used. Valid entry of a negative number should follow this rule -- if the integer part is non-zero, the negative sign is entered on the integer part; if the integer part is 0, the negative sign is entered on the numerator part (and therefore the negative sign should never be in the denominator). Examples:

     Valid inputs:     2 7/3 , -5 2/7  , 4 0/7  , 0 2/5  , 0 -8/3 
     Invalid inputs:   2 4/0 , -2 -4/5 , 3 -6/3 , 0 2/-3 
    
  5. Create an overload of the insertion operator << for output of Mixed numbers. This should output the mixed number in the same format as above, with the following exceptions: If the object represents a 0, then just display a 0. Otherwise: If the integer part is 0, do not display it. If the fraction part equals 0, do not display it. For negative numbers, the minus sign is always displayed to the left.
     Examples:   0  ,  2  ,  -5  ,  3/4  ,  -6/7  ,  -2 4/5  ,  7 2/3 
    
  6. Create overloads for all 6 of the comparison operators ( < , > , <= , >= , == , != ). Each of these operations should test two objects of type Mixed and return an indication of true or false. You are testing the Mixed numbers for order and/or equality based on the usual meaning of order and equality for numbers. (These functions should not do comparisons by converting the Mixed numbers to decimals -- this could produce round-off errors and may not be completely accurate).
  7. Create operator overloads for the 4 standard arithmetic operations ( + , - , * , / ) , to perform addition, subtraction, multiplication, and division of two mixed numbers. Each of these operators will perform its task on two Mixed objects as operands and will return a Mixed object as a result - using the usual meaning of arithmetic operations on rational numbers. Also, each of these operators should return their result in simplified form. (e.g. return 3 2/3 instead of 3 10/15, for example).
    • In the division operator, if the second operand is 0, this would yield an invalid result. Since we have to return something from the operator, return 0 as a default (even though there is no valid answer in this case). Example:
      Mixed m(1, 2, 3);               // value is 1 2/3
      Mixed z;                        // value is 0
      Mixed r = m / z;                // r is 0 (even though this is not good math)
      
  8. Create overloads for the increment and decrement operators (++ and --). You need to handle both the pre- and post- forms (pre-increment, post-increment, pre-decrement, post-decrement). These operators should have their usual meaning -- increment will add 1 to the Mixed value, decrement will subtract 1. Since this operation involves arithmetic, leave incremented (or decremented) object in simplified form (to be consistent with other arithmetic operations). Example:
      Mixed m1(1, 2, 3);            //  1 2/3
      Mixed m2(2, 1, 2);            //  2 1/2
      cout << m1++;                   //  prints 1 2/3, m1 is now 2 2/3
      cout << ++m1;                   //  prints 3 2/3, m1 is now 3 2/3
      cout << m2--;                   //  prints 2 1/2, m2 is now 1 1/2
      cout << --m2;                   //  prints 1/2  , m2 is now 0 1/2
    
  9. General Requirements
    • As usual, no global variables
    • All member data of the Mixed class must be private
    • Use the const qualifier whenever appropriate
    • The only libraries that may be used in the class files are iostream and iomanip
    • Do not use langauge or library features that are C++11-only
    • Since the only output involved with your class will be in the << overload (and commands to invoke it will come from some main program or other module), your output should match mine exactly when running test programs.

In: Computer Science

Change management is an important part of business management. Using Change Management, organizations can respond to...

Change management is an important part of business management. Using Change Management, organizations can respond to customer requirements while minimizing value and reducing incidents and disruption. Why is organizational change management important? What are the benefits, risks, and impacts?

In: Operations Management

Explain why this approach was taken by considering the stage in the product life cycle as...

Explain why this approach was taken by considering the stage in the product life cycle as well as the promotion objectives. TOPIC BOBBI BROWN

SUBJECT: MARKETING

In: Operations Management

The seniors at Weseltown High School are voting on where to go for their senior trip....

The seniors at Weseltown High School are voting on where to go for their senior trip. They are deciding on Angel Falls(A), Bend Canyon(B), Cedar Lake(C) or Danger Gap(D). The results of the preferences are:

DABC = 120

ACBD = 100

BCAD = 90

CBDA = 80

CBAD = 45

a. Who is the Condorcet candidate?

b. Is there a majority winner? If not, is there a plurality winner? Does this violate the Condorcet criterion?

c. Who wins the Borda count? Does this violate the Condorcet criterion?

d. Who wins using the Hare method? Does this violate the Condorcet criterion?

e. Who wins using the pairwise comparison method? Does this violate the Condorcet criterion?

In: Mechanical Engineering

Suppose you worked at a company that implemented a new wellness policy that required that you...

Suppose you worked at a company that implemented a new wellness policy that required that you take health screenings each year for weight, cholesterol, tobacco use, and other health indicators. According to the wellness policy, if you do not achieve a high enough wellness score you will be required to make changes in your diet, exercise habits, or eliminate tobacco. Those who do not comply with the wellness policy face financial penalties. How would this wellness policy make you feel about working for this employer? Would you feel better (the employer is being unfair by trying to regulate my health), worse (the employer is being unfair by trying to regulate my life), or indifferent to your employer for having this wellness policy? How would the policy affect your job behavior? Would you increase you effort, maintain it, decrease it, or start looking for another job? What explains your positive or negative reactions to this wellness policy?

In: Operations Management

Cancer is considered by many a primarily genetic disease. However,what role does a lifestyle choice, such...

Cancer is considered by many a primarily genetic disease. However,what role does a lifestyle choice, such as smoking or a high cholesterol diet, play in the development of cancer? (CLO 4) Support your post through proper citations.

In: Biology

IN Java please 1. Define a class called ListExercise containing one data field: a list of...

IN Java please

1. Define a class called ListExercise containing one data field: a list of integer. Create two constructor methods, one accessor(getter) method and one mutator(setter) method for the ListExercise class.

2. Implement a reverse(int[] a) method to reverse the elements in the list. For example, reverse(Arrays.asList(new int[ ]{1,2,3})) should return {3,2,1}.

3. Implement a swapValue(List a, int i, int j) to swap the values in index i and j.

4. Implement a pickMost(int[] a) method to pick the most frequent value. For example pickMost(Arrays.asList(new int[] {1, 2, 3})) returns 1 or 2 or 3 and pickMost(Arrays.asList(new int[]{1,1,2})) returns 1.

5. Implement a checkPathenthesis(String exp) method to check if a string has matching pairs of parenthesis. For example, checkPathenthesis(“)))(((“) should return false and checkPathenthesis(“(())“) returns true.

In: Computer Science