In: Economics
I am having a difficult time with this loop. Needs to be in C++.
Given numRows and numColumns, print a list of all seats in a theater. Rows are numbered, columns lettered, as in 1A or 3E. Print a space after each seat, including after the last. Ex: numRows = 2 and numColumns = 3 prints:
1A 1B 1C 2A 2B 2C
#include <iostream>
using namespace std;
int main() {
int numRows;
int numColumns;
int currentRow;
int currentColumn;
char currentColumnLetter;
cin >> numRows;
cin >> numColumns;
/* Your solution goes here */
cout << endl;
return 0;
}
In: Computer Science
HomeSuites is a chain of all-suite, extended-stay hotel properties. The chain has 12 properties with an average of 200 rooms in each property. In year 1, the occupancy rate (the number of rooms filled divided by the number of rooms available) was 75 percent, based on a 365-day year. The average room rate was $175 for a night. The basic unit of operation is the “night,” which is one room occupied for one night.
The operating income for year 1 is as follows:
| HomeSuites | |||
| Operating Income | |||
| Year 1 | |||
| Sales revenue | |||
| Lodging | $ | 137,980,000 | |
| Food & beverage | 13,797,000 | ||
| Miscellaneous | 7,884,000 | ||
| Total revenues | $ | 159,661,000 | |
| Costs | |||
| Labor | $ | 38,976,000 | |
| Food & beverage | 13,140,000 | ||
| Miscellaneous | 8,541,000 | ||
| Management | 2,501,000 | ||
| Utilities, etc. | 37,200,000 | ||
| Depreciation | 10,800,000 | ||
| Marketing | 15,000,000 | ||
| Other costs | 8,001,000 | ||
| Total costs | $ | 134,159,000 | |
| Operating profit | $ | 25,502,000 | |
In year 1, the average fixed labor cost was $401,000 per property. The remaining labor cost was variable with respect to the number of nights. Food and beverage cost and miscellaneous cost are all variable with respect to the number of nights. Utilities and depreciation are fixed for each property. The remaining costs (management, marketing, and other costs) are fixed for the firm.
At the beginning of year 2, HomeSuites will open four new properties with no change in the average number of rooms per property. The occupancy rate is expected to remain at 75 percent. Management has made the following additional assumptions for year 2:
The managers of HomeSuites are considering different pricing strategies for year 2. Under the first strategy (“High Price”), they will work to maintain an average price of $212 per night. They realize that this will reduce demand and estimate that the occupancy rate will fall to 65.0 percent with this strategy. Under the alternative strategy (“High Occupancy”), they will work to increase the occupancy rate by lowering the average price. They estimate that with an average nightly rate of $172, they can achieve an occupancy rate of 85 percent. The current estimated profit is $16,159,340.
Required:
a. Prepare a budgeted income statement for year 2 if the “High Price” strategy is adopted. (Round your per unit average cost calculations to 2 decimal places.)
In: Accounting
TOXIC RECREATIONAL CENTER ENVIRONMENTAL RACISM?
The growing concern for the environment has increased public interest in the need for eco-friendly cities. Baltimore City residents and policymakers are, therefore, becoming more environmentally conscious in the development and rehabilitation of the city. The management of Baltimore City is becoming increasingly more complex as city is experiencing, crime including political corruption, socio-economic divisiveness, racial segregation, dwindling tax base and stalled physical and economic growth. Remembering you are the Assistant Director of Recreation and Parks for the City of Baltimore. You are the trouble shooter and problem solver for the city residents and the parks department. When something happens in this city you are the go-to person they (The Director of Recreation and Parks, The Mayor and, The City Council) turn to you, you are respected, experienced and well educated so your decisions actual become departmental policy.
Urban growth in East Baltimore has led to an increase in land values; thus, leading to competition between land uses including the demarcation of land for urban parks. The indirect economic benefits of urban parks make it difficult to place an economic value on them; thus, affecting the ability for policymakers to assess their true cost and benefits. This adversely affects the level of investment in the development of parks which limits the sustainable management of parks. Strigl (2003) describes the sustainable management of parks as the efficient and effective organization of park use through negotiations, comprises, and consensus building among stakeholders. However, recent news reports and complaints by residents in the city, especially West Baltimore and its residents who have been severely neglected in terms of overall development and improvements because of crime, abject poverty and socio-economic demographics which prevented the private sector developers from investing in the area. In addition, the West Baltimore area houses some of the poorest areas of the city and some of the worst areas in terms of city services according to residents and outside observers. This is especially true regarding parks and recreation facilities in the West Baltimore area. Recently a park refurbishment in the Harlem Park section of West Baltimore was halted due to concerns by environmentalist that the grounds where the park was being built were contaminate decades ago during early part of the 19th century by an automobile battery factory owned by General Motors. The environmentalist have determined through studies that the company upon closing the factory have buried thousands of tons of automobile batteries and chemicals underground which have been slowly leeching out into the grounds of the park. However, during the initial development of the park several soil samples have been taken by several different groups including the Federal government through the Environmental Protection Agency (EPA), The State of Maryland Department of Environment and The Baltimore City Department of Environmental control all signed off on the project. government indicating that the grounds under park were safe and free from harmful levels of contamination and the project was greenlighted by the Mayor, The City Council, and numerous other elected officials, neighborhood association leaders, celebrities and the surrounding community. The project was viewed as a resounding success and the park was expanded into a neighborhood recreational facility complete with a food bank, job training center, daycare and senior center and numerous sports programs and activities for the community. The facility is currently viewed as model for urban revitalization of impoverished communities nationwide. It has evolved from a simple clearing of abandoned homes to a large recreational center with the possibility of further expansion. It has attracted numerous volunteers, donors throughout the country
In spite of the success of the facility and its effects on the neighborhood a recent Netflix Documentary/investigation about the extremely high cancer rate amongst residents in the West Baltimore, Maryland 21215-area code surrounding the facility and neighborhood. After the documentary investigation more samples were taken of the soil and investigation of the processes undertaken to complete the project. In addition , the Maryland Department of Health, Johns Hopkins University, and several other public and private hospitals and concerned citizens formed a consortium to investigate the allegations outlined in the documentary. The consortiums findings revealed that the facility should have never been built on the site and it was highly likely that the site and the underground contamination were possibly the root causes in the high levels of cancer, asthma, skin rashes, COPD, suffered by the residents and patrons on the facility. In the mad rush to open the facility and under pressure by the constituents and the media someone signed off on the project. Further investigation has found that the culprits who were involved in green lighting the project are either deceased or retired so there would be one alive to held accountable, no criminal convictions, arrests, indictments but there will be a Class Action Lawsuit by the residents. Currently the facility has been ordered closed temporarily by the city effective April 20, 2020 based on recommendations by the consortium researching the situation while further tests and a solution to correct the problem is discovered. However, the summer months are coming up and the need by all stakeholders is to get out in front of this issue ASAP by coming up with a plan.
The Mayor of the City of Baltimore has ordered an Emergency Action Plan to be developed by the Department of Recreation & Parks. The Director of Recreation and Parks has asked you to come up with a plan to determine what are the essential programs and how to transfer/ temporarily move those services to other organizations in the area to keep the programs operating. Because many of the programs utilize separate funding specifically for their programs based upon participation it is essential that there be no disruption of their program or they would lose funding for the program Your directives coming from the Mayor, the Director of Parks & Recreation, and other city leaders is to first address the community in a Town Hall Meeting at a local church in the area.
In order to address the conflicts between the environmental and economic use of land; planners, park administrators and advocates need to combine their procedural and substantive skills and become central players in dealing with the conflict between growth, environment and social justice (Campbell 2011). The Baltimore City government and the Baltimore City Recreation & Parks authorities are also confronted and pressured with the problem of gentrification, budget challenges, appeasing various ethnic and cultural groups, socio-economic challenges, funding, creation, management and maintenance of urban parks and recreation. Despite their social and ecological benefits some of these projects will continue to move forward in an effort to appease constituents and the public. These competing interests make dealing with most urban issues such as the management of parks complex and costly; thus, the need to study some of the factors that influence the urban park development. The ability of recreation and park professional to conduct critical analysis, make strategic decisions make it imperative that leadership in the field be knowledgeable and taken seriously because the importance of recreation and parks cannot and should not be underestimated.
QUESTIONS:
In: Operations Management
In: Physics
Discuss the pros and cons of keeping the federal funds rate near zero percent.
In: Economics
Why can the Drude equation not be applied in the range of wavelengths near maximum absorbance?
In: Chemistry
A 60-year-old man, who has normal vision, has a near point of 93
cm. Instead of using reading glasses, he chooses to use a magnifier
of focal length 15 cm for reading. He reads with his eyes
relaxed.
(a) Find the magnification M.
(b) What is the distance from the page to the magnifier?
(c) What is the maximum angular magnification that can be obtained
with this magnifier by a child with a near point of 14
cm?
In: Physics
In this week's lecture #3, Walter Lewin lit a fluorescent bulb by holding it near a Van de Graaff generator, charged to 300,000 V. Suppose that the spherical conductor of the Van de Graaff has a diameter of 68.69 cm, that the bulb is 100.56 cm in length, and Prof. Lewin is holding the near end of the bulb 32.23 cm from the surface of the Van der Graaff. What is the potential difference (V) between the two ends of the bulb?
In: Physics
Please show neat solution that is readable. Thanks!
1. A refrigerator has a cooling liquid. Describe the stages and how energy is added or released at each stage in relationship to the 2nd law of thermodynamics.
2. You are familiar with the laws of thermodynamics in form and description. Relate any one to the process of an air-conditioning unit in a house
3. A vertical hydraulic cylinder has a piston with a diameter of 23mm, if the ambient pressure is 70 kPa, determine the mass (N) of the piston if the internal pressure is 0.3MPa.
4. Air flows through a pipe of 60cm diameter with a velocity of 0.7 m/s. If the specific volume of the air is 0.1 m3/kg determine:
The flow (m3/s)
Mass flow (kg/s)
5. Pressure in a piston system is at 120 kPa and a volume of 0.5m3 if the volume is increased to 0.75m3 what is the new pressure?
6. A volume of 0.25 m3 at a temperature of 1250C and pressure at 80kPa has the temperature increased by 200K. What is the new volume?
7. Explain the chemistry that occurs when a fuel is burnt and relate to all the laws of Thermodynamics.
In: Physics