Questions
Project Description The BlueMont chain hotels have 4 different types of room: Single room: $60/night Double...

Project Description The BlueMont chain hotels have 4 different types of room: Single room: $60/night Double room: $75/night King room: $100/night Suite room: $150/night The size of the hotel chains in different locations may be different in terms of the number of floors and the type and the number of rooms on each floor. You are required to write a program that calculates the occupancy rate and the total hotel income for one night and displays this information as well as some other information described below. The program starts by asking the location where this hotel chain is located and the number of floors in the hotel. The number of floors may not exceed 5. The User then enters the total number of rooms for each floor. The program then asks specifically the number of occupied rooms for each room type on this floor. The total number of rooms on each floor may not exceed 30 and the program should check that the total number of occupied rooms on each floor does not exceed the total of rooms on that floor. After the information is entered for each floor, the program calculates the following: - Hotel income (based on the room type and its rate), - The total number of occupied rooms, - Total number of the uncopied rooms, - The rate of occupancy, - Floor number with the minimum number of rooms. (Assume no two floors have the same number of rooms). - A message to improve the occupancy rate for the occupancy rate of less than 60%. - Programmer’s full name - Project number - Project due date Project Specifications -Use constant variables to hold room rates, max and min # of floors and rooms. -The program should continuously ask for the correct floor number if it is not within the range of 1 and 5. -The program should continuously ask for the correct number of rooms for each floor if it is not within the range of 1 and 30. -The program should repeat the process of asking the number of rooms on the floor and number of occupied rooms if the total number of occupied rooms exceeds the total number of rooms on the floor. Refer to Sample outputs for more clarification.

In: Computer Science

Project Description The BlueMont chain hotels have 4 different types of room: Single room: $60/night Double...

Project Description

The BlueMont chain hotels have 4 different types of room:

Single room: $60/night

Double room: $75/night

King room:   $100/night

Suite room: $150/night

The size of the hotel chains in different locations may be different in terms of the number of floors and the type and the number of rooms on each floor.

You are required to write a program that calculates the occupancy rate and the total hotel income for one night and displays this information as well as some other information described below.

The program starts by asking the location where this hotel chain is located and the number of floors in the hotel. The number of floors may not exceed 5. The User then enters the total number of rooms for each floor. The program then asks specifically the number of occupied rooms for each room type on this floor. The total number of rooms on each floor may not exceed 30 and the program should check that the total number of occupied rooms on each floor does not exceed the total of rooms on that floor.

After the information is entered for each floor, the program calculates the following:

- Hotel income (based on the room type and its rate),

- The total number of occupied rooms,

- Total number of the uncopied rooms,

- The rate of occupancy,

- Floor number with the minimum number of rooms. (Assume no two floors have the same number of rooms).

- A message to improve the occupancy rate for the occupancy rate of less than 60%.

- Programmer’s full name

- Project number

- Project due date

Project Specifications

-Use constant variables to hold room rates, max and min # of floors and rooms.

-The program should continuously ask for the correct floor number if it is not within the range of 1 and 5.

-The program should continuously ask for the correct number of rooms for each floor if it is not within the range of 1 and 30.

-The program should repeat the process of asking the number of rooms on the floor and number of occupied rooms if the total number of occupied rooms exceeds the total number of rooms on the floor.

In: Computer Science

Many hotels have begun a conservation program that encourages guests to re-use towels rather than have...

Many hotels have begun a conservation program that encourages guests to re-use towels rather than have them washed on a daily basis. A recent study examined whether one method of encouragement might work better than another. Different signs explaining the conservation program were placed in the bathrooms of the hotel rooms, with random assignment determining which rooms received which sign. One sign mentioned the importance of environmental protection, whereas another sign claimed that 75% of the hotel’s guests choose to participate in the program. The researchers suspected that the latter sign, by appealing to a social norm, would produce a higher proportion of hotel guests who agree to re-use their towels. Researchers used the hotel staff (a mid-sized, mid-priced hotel in the Southwest that was part of a well-known national hotel chain) to record whether guests staying for multiple nights agreed to reuse their towel after the first night.

(a) Identify the observational units, explanatory variable, and response variable in this study.

(b) State the null and alternative hypotheses in symbols, and be sure to define the parameter in the context of this study.

The following table displays the observed data in this study:

Social Norm Environmental protection Total
Guest opted to re-use towels 98 74 172
Guest did not opt to re-use towels 124 137 261
Total 222 211 433

(c) Calculate the conditional proportions of re-use in each group.

(e) Use a two-sample z-test to test the hypotheses that you stated in (a). Report the test statistic and p-

value.

(f) Report your test decision at the α = 0.10, 0.05, and 0.01 significance levels. Also summarize what

these test decisions reveal about the strength of evidence for the researchers’ conjecture.

(g) Produce and interpret a 90% confidence interval for the difference in probabilities of re-using towels

between these two signs.

In: Math

Andy wants Ben to build Andy a pool, a tennis court, and a basketball court for...

Andy wants Ben to build Andy a pool, a tennis court, and a basketball court for Andy's employer which is a small hotel. Ben tells Andy that he can do the pool for $ 10,000, a tennis court for $ 7,000, and a basketball court for $ 3,000 if this is done individually. Andy must have the pool for no more than $ 12,000. He would like the basketball court this year or next. He would like the tennis court for no more than $ 8,000. His entire budget for this year for any of these things is no more than $ 17,000 but he would really prefer $ 15,000. Andy must decide this within 10 days or lose his job. Andy knows that Ben has no time pressure at all. Andy also knows that Ben, however, does not like to waste time and likes to do multiple jobs at once if he can in order to be more efficient. Andy also knows that Ben has many other jobs he can do right now but that he prefers to do jobs closest to his office more than farther jobs because they are easier to get to etc. Andy's hotel is only a mile from Ben's office. Andy would like someone to improve the entrance to his hotel, the back area of his hotel, and the parking lot of his hotel, but he really does not care about that right now as he can do that in 3 or 4 years and has no rush for that. Andy also knows that Ben's construction business is always looking for more cement trucks and flatbed trucks and Andy happens to have a cement truck and two flatbed trucks he does not need anymore.

a. What 2 or 3 negotiation strategies would you advise Andy to use in negotiating with Ben and why?

b. In general, what 2 strategies below would you say most often ruins negotiations between people and why?

In: Operations Management

A population proportion is 0.3. A sample of size 250 will be taken and the sample...

A population proportion is 0.3. A sample of size 250 will be taken and the sample proportion p^- will be used to estimate the population proportion. Use z-table. Round your answers to four decimal places. Do not round intermediate calculations.

a. What is the probability that the sample proportion will be within plus or minus 0.03 of the population proportion?

b. What is the probability that the sample proportion will be within plus or minus 0.06 of the population proportion?

In: Statistics and Probability

A firm is financed with debt that has a market beta of 0.3 and equity that...

A firm is financed with debt that has a market beta of 0.3 and equity that has a market beta of 1.2. The risk-free rate is 3%, and the equity premium is 5%. The overall cost of capital for the firm is 8%. What is the firmʹs debt-equity ratio?

a) 28.6%

b) 25.0%

c) 74.8%

d) 25.2%

In: Finance

. Air in a 0.3 m3 cylinder is initially at a pressure of 10 bar and...

. Air in a 0.3 m3 cylinder is initially at a pressure of 10 bar and a temperature of 330 K. The cylinder is to be emptied by opening a valve and letting the pressure drop to that of the atmosphere. What will be the final temperature and mass of gas in the cylinder if this is accomplished:

a) In a manner that maintains the temperature of the gas at 330 K?

b) In a well-insulated cylinder (Answer: Tfinal = 171 K).

In: Other

There is an understanding that social capital, social inequities, and the built environment play a vital...

There is an understanding that social capital, social inequities, and the built environment play a vital role in our health and health outcomes. At the intersection of these three concepts are our communities and neighborhoods. Describe linkages between the social environment and the built environment (e.g. having sidewalks or parks in a neighborhood.) How does your environment align with concepts of social capital? What role does the 'built environment' play a role in health and health outcomes in your community?

http://ajph.aphapublications.org/doi/full/10.2105/AJPH.93.9.1546

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1447705/

In: Nursing

Your team’s task for this project is to simulate an NMOS transistor, compute the DC operating...

Your team’s task for this project is to simulate an NMOS transistor, compute the DC operating point and then design a bias network to properly operate the transistor in saturation. The transistor you will use is described by the spice model below:

ltSPICE:

.model NMOS0P5               NMOS(Level=1 VTO=0.7 GAMMA=0.5 PHI=0.8

+                              LD=0.08E-06 WD=0 UO=460 LAMBDA=0.001 TOX=9.5E-9 PB=0.9 CJ=0.57E-3

+                              CJSW=120E-12 MJ=0.5 MJSW=0.4 CGDO=0.4E-9 JS=10E-9 CGBO=0.38E-9

+                              CGSO=0.4E-9)

MultiSim:

.SUBCKT NMOS0P5 1 2 3 4

M 1 2 3 4 NMOS0P5 W=5u L=0.5u

.model NMOS0P5               NMOS(Level=1 VTO=0.7 GAMMA=0.5 PHI=0.8

+                              LD=0.08E-06 WD=0 UO=460 LAMBDA=0.001 TOX=9.5E-9 PB=0.9 CJ=0.57E-3

+                              CJSW=120E-12 MJ=0.5 MJSW=0.4 CGDO=0.4E-9 JS=10E-9 CGBO=0.38E-9

+                              CGSO=0.4E-9)

.ENDS NMOS0P5

In ltSPICE use the NMOS4 schematic component and a SPICE directive to properly load your model. In multisim use the component wizard and the MOS_N_4T schematic component. (see Figure 1 for proper multisim component creation). If you are using multisim.com online simulator, simply use a ‘NMOS’ device and input the Vt, Kn’ (shown as Kp) and W/L in the right side menu.

Figure 1. Custom component model

NOTE: for NMOS4 and MOS_N_4T you must connect the base to your source terminal as seen in Figure 3.

Figure 2. NMOS4 component

For the first part, you are to use the saturation equation for an NMOS with a Vt = 0.7V, Kn’ of 2.469 x10-4 and a W/L of 10 (use 0.5u for L 5u for W in your simulation) to get a ID of 4 mA. Once you find you VOV value solve for your VGS. Once your have your VGS simulate the I/V curve you are familiar with using DC sweep on VDS (start at 0V finish at 5V with 0.5V steps) and a fixed Vgs that you found using your equation. If you are using multisim.com you can simply show a transient line graph of 4mA Id.

For the second part, you are to find resistor values in the configuration shown in figure 3 to achieve the VGS you solved for analytically in part 1 (use resistors in the 100k-1000 kOhm range for RG1-2) as well as a VD of 3V so that the transistor is operating in saturation. (use the DC operating point simulation to find these values, use VDD = 5V).

Lastly, if we are to operate this transistor in deep triode, what is the resistor value rds?

Figure 3. Classical bias NMOS configuration

In summary:

Find VGS analytically

Graph the I/V curve at this VGS using DC Sweep

Find RG1 RG2 and RD for a VD of 3V

Show the DC Operating Point in saturation

Find rds analytically

In: Electrical Engineering

Q3: Why can a hotel, motel, or restaurant usually operate with a current ratio considerably lower...

Q3: Why can a hotel, motel, or restaurant usually operate with a current ratio
considerably lower than other types of businesses, such as manufacturing
companies?

In: Finance