In: Anatomy and Physiology
in. java
Write a program that reads a string from the user, and creates another string with the letters from in reversed order. You should do this using string concatenation and loops. Do not use any method from Java that does the work for you. The reverse string must be built. Do not just print the letters in reversed order. Instead, concatenate them in a string.
--- Sample run: This program will create a string with letters in reversed order. Enter a string: banana The reversed string is: ananab Bye --- Sample run: This program will create a string with letters in reversed order. Enter a string: what the heck The reversed string is: kceh eht tahw Bye
In: Computer Science
COMPLETE IN EXCEL SHOWING EQUATIONS
Variable Growth Valuation Model Given:
Most recent annual cash flow (CFo) $1,000
Stage 1 annual growth rate (gt) 0.15
Stage 2 annual growth rate (gm) 0.05
Duration of stage 1 growth (years) 3
Required return (k) 0.10
Steps in solution:
1) Estimate future cash flows for the duration of the stage 1 growth period:
CF(0) = given $1,000
CF(1) = CF(0) * (1+gt) $1,150
CF(2) = CF(1) * (1+gt) $1,323
CF(3) = CF(2) * (1+gt) $1,521
2) Use EXCEL's built-in NPV function to find the present value of these cash flows.
RATE 0.10
NPV (rate, CF1:CF3) $3,281.09
3) Use the constant growth formula to estimate the value of the firm at the end of the rapid growth period (V3) where:
CF4 = CF3 (1+gm)
CF4 = $1,597
V3 = $1,597 / (0.10-0.05)
Ve = $31,938
4) Use EXCEL's built-in PV function to find the present value of the amount determined in step 3.
FV $31,938
RATE 0.10
NPER 3
PV ($23,996)
(You may ignore the negative sign for this answer. Recall that EXCEL mandates that the amounts entered for PV and FV must have opposite signs.)
5) Add the amounts found in step 2 (the PV of the rapid growth cash flows ) and step 4 (the PV of the normal growth cash flows).
PV of rapid growth cash flows $3,281
PV of normal growth cash flows $23,996
value of the firm $27,277
In: Finance
The following is in C++. The instructions for completion are at the bottom.
#include
#include
#include
#include
#include
#include
// function to determine if a token
vector is_token(const string& s) {
}
int main() {
// make this into a loop such that, like a terminal, input is
accepted until the user hits CTRL+d
string str;
cout<<">";
getline(cin, str);
//vector to store the strings or characters returned by
is_token() function
vector tokens;
tokens = is_token(str);
}
Modify the main() function to loop until the user exits (e.g. by pressing CTRL+d).
Write a function named is_token() that accepts a string of user
input and determines what is a token (see below for token
determination rules).
The function must return the separated tokens.
Determining if something is a token:
1. Whitespace (space, tab, etc) ends a token and is skipped
unless it is in quotes (see below). You will find the function int
isspace(char) useful for detecting whitespace characters.
2. Some characters are considered special tokens: | ; < >
&. When one of these characters is encountered, the token being
built is completed and a new token consisting of the character is
created.
3. The character \ is a special character, i.e. an escape
character. The next character will be part (or the start) of a
token.
4. Items between single or double quotes are treated as parts of
the current token.
5. Characters that do not meet the above rules are added on to the
current token being built.
Some examples to test your output:
Input: > we\'ll do some "crazy \"air quotes\""
Output (tokens separated by commas): we'll, do, some, crazy "air
quotes"
Input: > ls | sort >sorted_files.txt
Output (tokens separated by commas): ls, |, sort, >,
sorted_files.txt
Input: > "now\;is"
Output: now;is
In: Computer Science
1. Which of the following statements is NOT true about the
Revenue Management?
a. Revenue management is based on setting and updating
prices.
b. Revenue management is originated in the airline industry.
c. Through revenue management, the firms can allocate their
capacity to different fare classes over time in order to maximize
revenue.
d. Revenue management focuses on shaping demand via controlling
supply under the limited capacity.
2. According to the Littlewood’s Rule, which of the following
does NOT generate pressure to increase the booking limit?
a. Increase in the full-fare price
b. Increase in the discount-fare price
c. Increase in the plane capacity
d. Decrease in the average full-fare demand
3. A hotel has 200 rooms and the historical show rate is 90%.
What will be the (closest) optimal overbooking level given by the
deterministic overbooking heuristic?
a. 222
b. 180
c. 200
d. None of the above
e. 220
In: Finance
Which of these items would be considered sexual harassment in the eyes of the law?
Which “type” of harassment is it: Quid Pro Quo or Hostile Environment?
1. A client pressures a salesperson for dates and sexual favors in exchange for a large purchase.
2. A supervisor requires that her assistant, a male, stay with her in her hotel room while they are out of town at a conference stating: “If you won’t agree to help me save expenses, I’ll find a new assistant who will.”
3. A male has asked two female co-workers to stop embarrassing him by telling jokes of a sexual nature and sharing their sexual fantasies, but they continue, telling him “you should appreciate the free advice!”
4. When she asked her co-workers to clean up their language, they no longer spoke directly to her but continued to use demeaning terms with each other, especially when referring to her within her earshot.
In: Operations Management
Strategic Planning in Health Care Organizations
Porter’s Five Forces focus on competitive forces that affect an organization. In many industries, including the healthcare industry, there are complementary products and services that add values to consumers. For example, the airline and hotel industries are complementary to each other and create values to travelers by transporting them and housing them during their vacations or business trips. It is also common for these complementary businesses to enter into a strategic alliance to promote each other’s products or services. *Give an example of a complementary product or service (“complementor”) in the healthcare industry * Explain why the
“complementors” add values and whether a business alliance between these two complementary businesses is a sound strategic move
. Reference Your paper must be 1–2 pages
Ginter, P. M., Duncan, J. W., & Swayne, L. E. (2013). The strategic management of healthcare organizations (7th ed.). San Francisco, CA: Jossey-Bass.
In: Nursing
Many U.S. Firms Use Leases Leasing is big business for U.S. companies. For example, business investment in equipment in a recent year totaled $709 billion. Leasing accounted for about 31% of all business investment ($218 billion). Who does the most leasing? Interestingly major banks, such as Continental Bank, J.P. Morgan Leasing, and US Bancorp Equipment Finance, are the major lessors. Also, many companies have established separate leasing companies, such as Boeing Capital Corporation, Dell Financial Services, and John Deere Capital Corporation. And, as an excellent example of the magnitude of leasing, leased planes account for nearly 40% of the U.S. fleet of commercial airlines. In addition, leasing is becoming increasingly common in the hotel industry. Marriott, Hilton, and InterContinental are increasingly choosing to lease hotels that are owned by someone else. Why might airline managers choose to lease rather than purchase their planes?
In: Accounting
Provide an evaluation of two proposed projects, both with 5-year expected lives and identical initial outlays of $110,000. Both of thj4ese projects involve additions to Liburdi’s high highly successful hotel product line, and as a result, the required rate of return on both projects has been established at 12 percent. The expected free cash flows from each project are as follows:
|
Project A |
Project B |
|
|
Initial outlay |
-$110,000 |
-$110,000 |
|
Inflow year 1 |
20,000 |
40,000 |
|
Inflow year 2 |
30,000 |
40,000 |
|
Inflow year 3 |
40,000 |
40,000 |
|
Inflow year 4 |
50,000 |
40,000 |
|
Inflow year 5 |
70,000 |
40,000 |
In evaluating these projects, please respond to the following questions:
In: Accounting
How do demand and supply change, and thus what are the impacts on price and quantity, due to the following changes:
1. Higher household income
2. Swiss residents become “greener“
3. Firms want to strongly position their newly-launched models
4. Plastic becomes more expensive
5. Oil becomes more expensive
6. Hotel prices in ski resorts become higher
7. Guest workers are no longer allowed in the country
8. New ski resorts open up
9. The lifts themselves become faster and less expensive to purchase and operate
10.Higher availability of inexpensive, high quality printers for private use 1
1. Higher availability of notebooks and PCs with high-quality graphics
12. Higher availability of e-mail and social media
13. Rising productivity and falling prices for inputs in the production of digital cameras
14. Higher availability of handy, and then smart phones, with digital cameras
In: Economics