Questions
write a program ordered.java Order check Write a program Ordered.java that takes four int command-line arguments...

write a program ordered.java

Order check Write a program Ordered.java that takes four int command-line arguments w, x, y, and z. Define a boolean variable whose value is true if the four values are either in strictly ascending order (w < x < y < z) or strictly descending order (w > x > y > z), and false otherwise. Then, display the boolean variable value.
NOTE 1: Do not use if statements on this program.
NOTE 2: Assume that the inputs will always be integers.

In: Computer Science

Question: In about 150 words, analyze how Social, Economic, Political and Technological factors might affect the...

Question: In about 150 words, analyze how Social, Economic, Political and Technological factors might affect the food industry. Define each factor with example in context.

Food Industry

There’s no denying that the food industry is one of the strongest in the world after all, everyone needs to eat! Indeed, there are some interesting dynamics at play in this space which make it unclear just how profitable food businesses will continue to be.

Governments across the world have expansive regulatory frameworks for every aspect of the food industry. This includes the cleanliness of commercial kitchens, the standards for storing and transporting produce, and even the requirements for laborers in the food business. Without a doubt, this makes the food industry one of the most tightly regulated industries of all. On the plus side, this ensures that consumers aren’t exposed to poor quality nutrition, but the complexities of regulation certainly take away from the margins of the food business.

We’re seeing various types of automation more and more in the food industry. Perhaps the best example is the use of self-checkout screens at fast food venues such as McDonalds, but it’s not the only one! Just recently, social media platforms went crazy as viral footage of a hotel’s robot cooking up omelets began to spread. As we find more ways to use technology including robots in

In: Operations Management

Part I A ball is thrown straight up from the top of a building that is...

Part I

A ball is thrown straight up from the top of a building that is 185ft high with an initial velocity of 64ft/s. The height of the object can be modeled by the equation s(t) = -16t 2 + 64t + 185.
In two or more complete sentences explain how to determine the time(s) the ball is higher than the building in interval notation.

Part II

In two or more complete sentences, describe the transformation(s) that take place on the parent function, f(x) = log(x), to achieve the graph of g(x) = log(-3x-6) - 2.

Part III

The parent function f(x) = log4x has been transformed by reflecting it over the x-axis, stretching it vertically by a factor of two and shifting it down five units. Which function is representative of this transformation?

A. g(x ) = log4(2x) - 5

B. g(x) = log4(-2x) + 5

C. g(x) = 2log4(x) + 5

D. g(x) = -2log4(x) - 5

In: Advanced Math

1. describe an action that shows two forces you used as you got ready for school...

1. describe an action that shows two forces you used as you got ready for school today

were you using a push or pull in each interaction
what was the effort force
what was the resistance force

2. name an object found on a playground that uses simple machine to make it work, what kind of simple machine is used? How would the playground be different if there were no simple machines there?

In: Physics

Write in C++ Print the following heading (should be in heading function) Welcome to Reference parameters...

Write in C++

Print the following heading (should be in heading function)

Welcome to Reference parameters

2 ) ask the user for 2 numbers (should be in main)

3 ) Calculate the sum and product of the numbers using reference parameters (should be in getAnswer function)

4 ) Print the sum and product of the numbers in the following format: (should be in printmessage function)

Here is the function you need       

Function name | Parameters                       | Return Type   

heading | N/A | void

getAnswer | lnumber1, number2, sum, product | void

printmessage | sum, product | void

Sum: <sum>

Product: <product>

Example:

Enter a number: 5

Enter another number: 2

Sum: 7

Product: 10

In: Computer Science

Define Alternate dispute resolution procedure and explain how having such a procedure can be valuable to...

Define Alternate dispute resolution procedure and explain how having such a procedure can be valuable to a company

In: Operations Management

A. Define and implement the class Alarm as follows: The class Alarm consists of two private...

A. Define and implement the class Alarm as follows: The class Alarm consists of two private member variables: description of type string and atime of type Time. The class Alarm also includes the following public member functions:

1. print to print out the alarm’s description and hour, minute, and second of the alarm time.

2. setDescription to accept a string argument and use it to set the description member variable.

3. setAtime to accept three integers (for hour, minute, and second) to set the atime member variable (alarm time).

4. getDescription to return the value of the description member variable.

5. getAtime to return the atime member as a Time object.

6. A default constructor that initializes the description to the string “None” and the alarm time to 00:00:00.

7. An overloaded constructor that accepts a string argument for the alarm description and three int arguments (as the hour, minute, and second) and use them to initialize the description and atime member variables of an Alarm object.

8. An overloaded constructor that accepts a string argument for the alarm description and a Time object and use them to initialize the description and atime member variables of an Alarm object.

9. An equals function to compare two Alarm objects’ values. Return true if both objects have the same values of the member variables. Otherwise, return false. B. In the function main, write statements to declare Alarm class objects and test your class implementation.

Your project is expected to contain five source files: Time.h, Time.cpp, Alarm.h, Alarm.cpp, Lab8.cpp.

In: Computer Science

This is all one question, thank you very much in advance! You must evaluate a proposal...

This is all one question, thank you very much in advance!

You must evaluate a proposal to buy a new milling machine. The base price is $189,000, and shipping and installation costs would add another $16,000. The machine falls into the MACRS 3-year class, and it would be sold after 3 years for $103,950. The applicable depreciation rates are 33%, 45%, 15%, and 7%. The machine would require a $7,000 increase in net operating working capital (increased inventory less increased accounts payable). There would be no effect on revenues, but pretax labor costs would decline by $45,000 per year. The marginal tax rate is 35%, and the WACC is 13%. Also, the firm spent $5,000 last year investigating the feasibility of using the machine.

  1. How should the $5,000 spent last year be handled?
    1. Last year's expenditure should be treated as a terminal cash flow and dealt with at the end of the project's life. Hence, it should not be included in the initial investment outlay.
    2. Last year's expenditure is considered as an opportunity cost and does not represent an incremental cash flow. Hence, it should not be included in the analysis.
    3. Last year's expenditure is considered as a sunk cost and does not represent an incremental cash flow. Hence, it should not be included in the analysis.
    4. The cost of research is an incremental cash flow and should be included in the analysis.
    5. Only the tax effect of the research expenses should be included in the analysis.

    -Select-IIIIIIIVVItem 1
  2. What is the initial investment outlay for the machine for capital budgeting purposes, that is, what is the Year 0 project cash flow? Round your answer to the nearest cent.
    $

  3. What are the project's annual cash flows during Years 1, 2, and 3? Round your answer to the nearest cent. Do not round your intermediate calculations.

    Year 1 $

    Year 2 $

    Year 3 $

  4. Should the machine be purchased?

In: Finance

I need you to do both of the programs. Please specify which program is which! Array...

I need you to do both of the programs. Please specify which program is which!

Array Allocator:

Write a function that dynamically allocates an array of integers. The function should accept an integer argument indicating the number of elements to allocate. The function should return a pointer to the array. Call the function in a complete program.

Reverse Array:

Write a function that accepts an int array and the array’s size as arguments. The function should create a copy of the array, except that the element values should be reversed in the copy. The function should return a pointer to the new array. Demonstrate the function in a complete program.

In: Computer Science

Choose your favorite topic (Social Media, Positively but also point out negatives) and discuss your thoughts...

Choose your favorite topic (Social Media, Positively but also point out negatives) and discuss your thoughts on how convergence has- in your opinion- positively or negatively impacted the medium you are writing about.

500 words

In: Psychology

Scientific research is disseminated differently than other types of information/journalism. Discuss the advantages of disadvantages of...

Scientific research is disseminated differently than other types of information/journalism. Discuss the advantages of disadvantages of the current process. Also, see if you can find a website, podcast, radio show, blog, etc. that highlights recent scientific findings for the general public and share it

In: Psychology

National Business Machine Co. (NBM) has $2 million of extra cash after taxes have been paid....

National Business Machine Co. (NBM) has $2 million of extra cash after taxes have been paid. NBM has two choices to make use of this cash. One alternative is to invest the cash in financial assets. The resulting investment income will be paid out as a special dividend at the end of three years. In this case, the firm can invest in Treasury bills yielding 2 percent or a 4 percent preferred stock. IRS regulations allow the company to exclude from taxable income 70 percent of the dividends received from investing in another company’s stock. Another alternative is to pay out the cash now as dividends. This would allow the shareholders to invest on their own in Treasury bills with the same yield, or in preferred stock. The corporate tax rate is 36 percent. Assume the investor has a 32 percent personal income tax rate, which is applied to interest income and preferred stock dividends. The personal dividend tax rate is 15 percent on common stock dividends.

Suppose the company reinvests the $2 million and pays a dividend in three years.

What is the total aftertax cash flow to shareholders if the company invests in T-bills? (Enter your answer in dollars, not millions of dollars, e.g., 1,234,567. Do not round intermediate calculations and round your final answer to 2 decimal places, e.g., 32.16.)

  Value in three years $   

What is the total aftertax cash flow to shareholders if the company invests in preferred stock? (Enter your answer in dollars, not millions of dollars, e.g., 1,234,567. Do not round intermediate calculations and round your final answer to 2 decimal places, e.g., 32.16.)

  Value in three years $   

Suppose instead that the company pays a $2 million dividend now and the shareholder reinvests the dividend for three years.

What is the total aftertax cash flow to shareholders if the shareholder invests in T-bills? (Enter your answer in dollars, not millions of dollars, e.g., 1,234,567. Do not round intermediate calculations and round your final answer to 2 decimal places, e.g., 32.16.)

  Value in three years $   

What is the total aftertax cash flow to shareholders if the shareholder invests in preferred stock? (Enter your answer in dollars, not millions of dollars, e.g., 1,234,567. Do not round intermediate calculations and round your final answer to 2 decimal places, e.g., 32.16.)

  Value in three years $   

In: Finance

Write a method public static boolean isPalindrome(String input) that uses one or more stacks to determine...

Write a method public static boolean isPalindrome(String input) that uses one or more stacks to determine if a given string is a palindrome. [A palindrome is a string that reads the same forwards and backwards, for example ‘racecar’, ‘civic’]. Make sure that your method works correctly for special cases, if any.
(b) What is the big-O complexity of your method in terms of the list size n.

In: Computer Science

The Attaran Corporation manufactures two electrical​ products: portable air conditioners and portable heaters. The assembly process...

The Attaran Corporation manufactures two electrical​ products: portable air conditioners and portable heaters. The assembly process for each is similar in that both require a certain amount of wiring and drilling. Each air conditioner takes 3 hours of wiring and 2 hours of drilling. Each heater must go through 2 hours of wiring and 1 hour of drilling. During the next production​ period, 240 hours of wiring time are available and up to 130 hours of drilling time may be used. Each air conditioner sold yields a profit of ​$20. Each heater assembled may be sold for a ​$19 profit. The aim of the objective function for Attaran Corporation should be to Maximize the objective value.

The optimum solution​ is:

Number of air conditioners to be produced​ = ___ ​(round your response to two decimal​ places).

Number of heaters to be produced​ =_____ ​(round your response to two decimal​ places).

Optimal solution value​ = _____ ​(round your response to two decimal​ places).

In: Operations Management

I need assistance with the below HTML5 web programming assignment. Use as many question as you...

I need assistance with the below HTML5 web programming assignment.

Use as many question as you need to answer.

(c) Client Lab – Exploring Form Design (25 points)

The design of a form, such as the justification of the labels, the use of background colors, and even the order of the form elements can either increase or decrease the usability of a form. Visit some of the following resources to explore form design:

Because of the dynamics of web sites, the links provided may no longer be valid

Your Task

Create a web page, formdesign.html, that lists the URLs of at least two useful resources along with a brief description of the information you found most interesting or valuable. Design a contact form on the web page that applies what you’ve just learned in your exploration of form design.

  • Web Application Form Design: **I removed the URLs because I think we are not allow to included any third party web address****
  • 7 Common Web Form Design Mistakes to Avoid:
  • 10 Tips to a Better Form:
  • Sensible Forms:
  • Best Practices for Form Design:
  1. Load formdesign.html in Google Chrome and take a screenshot of the entire browser window
  2. Paste the screenshot in the green box

In: Computer Science