Questions
1) You leave your house and walk ten miles to the west, and then five miles...

1) You leave your house and walk ten miles to the west, and then five miles at an angle 60 degrees west of south. How far and in what direction do you need to walk to get home?

2) A car moving with a constant speed travels 160 m in 6.00 s. If it then breaks and comes to a stop in 6.00 s, how far it travels before stopping? What is the average speed over the 12.0 seconds?

Please solve these two questions clearly and step by step and also circle the answer. Thank you

In: Physics

Project 1: Frequent Flyer Miles Calculator Write a Ruby program that calculates how many frequent flyer...

Project 1: Frequent Flyer Miles Calculator

Write a Ruby program that calculates how many frequent flyer miles are needes for a free ticket on a new startup airline, CorsairAir. Frequent flyer miles are charged for a free ticket depending on the class of service (more for first class, less for coach), depending on the day flying (more if flying on Friday, Saturday or Monday, less for other days of the week), depending on the distance traveled, and a surcharge if flying to Canada, Mexico or the Carribean. Tickets start with a cost of 10,000 frequent flyer miles. Then, you should calculate the distance charge which is 1,000 frequent flyer miles for each 250 miles flown. Then, you should charge an additional 40% charge of frequent flyer miles if the passenger wants to fly first class. If flying on a Friday, Saturday or Monday, the ticket will cost an additional 5,000 frequent flyer miles. Travel to Canada, Mexico or the Carribean needs to cost an additional 7,500 frequent flyer miles. Be sure your program does not allow for negative miles flown or incorrect answers to the yes/no questions asked.
The sample program dialogs below should help you to see how to perform this calculation.

CorsairAir Calculator
How far are your flying:-20
Sorry Charlie!

Continue(y/n)? y

How far are you flying (in miles):500
Want first class (y/n):y
Flying on a Friday, Saturday or Monday (y/n):n
Flying to Canada, Mexico or the Carribean (y/n):n
10000 base cost
2000 distance charge
4800 First class charge
You will need 16800 frequent flyer miles for this ticket. Enjoy your trip!

Continue(y/n)? y

How far are you flying (in miles):500
Want first class (y/n):n
Flying on a Friday, Saturday or Monday (y/n):y
Flying to Canada, Mexico or the Carribean (y/n):n
10000 base cost
2000 distance charge
5000 day of the week charge
You will need 17000 frequent flyer miles for this ticket. Enjoy your trip!

Continue(y/n)? y

How far are you flying (in miles):500
Want first class (y/n):n
Flying on a Friday, Saturday or Monday (y/n):y
Flying to Canada, Mexico or the Carribean (y/n):foobar
Sorry Charlie!

Continue(y/n)? y

How far are you flying (in miles):500
Want first class (y/n):n
Flying on a Friday, Saturday or Monday (y/n):n
Flying to Canada, Mexico or the Carribean (y/n):n
10000 base cost
2000 distance charge
You will need 12000 frequent flyer miles for this ticket. Enjoy your trip!

Continue(y/n)? n

In: Computer Science

( C++ ) Occupancy rate is often considered to be one of the top three most...

( C++ ) Occupancy rate is often considered to be one of the top three most useful metrics for hotel owners. Generally speaking, those working in the hotel industry should be aiming for a high occupancy rate, because this indicates that space is being used efficiently.

The occupancy rate of a hotel is expressed as a percentage. So, for example, if a hotel has 100 rooms available to be sold and 60 of those rooms are occupied, the occupancy rate would be 60 percent.

How to Calculate Occupancy Rate

The occupancy rate can be calculated with the following formula:

Occupancy Rate = Number of Occupied Rooms / Total Number of Available Rooms

Example: If your hotel has 220 rooms and 210 of the rooms are occupied:

210 / 220 = 0.95 = 95 percent occupancy rate.

Program Description

Write a program that calculates the occupancy rate for a hotel. The program should start by asking the user how many floors the hotel has. Use the following message for the prompt: "How many floors does the hotel have? ".

A loop should then iterate once for each floor. In each iteration, the loop should ask the user for the number of rooms on the floor and how many are occupied. Use the following messages for the prompts:

"\nEnter the number of rooms on floor <floor number>: " and "\nHow many rooms are occupied on floor <floor number>? ".

Note: <floor number> should be substituted whith the floor number.

After all the iterations complete, the program should display a report similar to the following:

Total number of rooms: 330
Occupied rooms: 264
Unoccupied rooms: 66
Occupancy Rate: 0.80

Note: A new line should be displayed before the report is displayed and the occupancy rate should be displayed with 2 digits after the decimal.

Hint: Your program should use 2 accumulators to keep track of the total number of rooms in the hotel and how many rooms are occupied. Don't forget to initialize these variables to zero.

Input Validation

  • Number of floors must be 1 or greater.
  • Number of rooms on a floor must be 10 or greater.
  • Number of occupied rooms must be a number between 0 and the number of rooms on that floor.

Loops should be used to continue prompting the user for input, until it is valid. If invalid input is entered, an error message should be displayed and the input should be read again. Use the error messages below.

Error messages:

  • "\n->Number of floors must be 1 or greater. Try again: "
  • "\n->Number of rooms must be 10 or greater. Try again: "
  • "\n->Number of occupied rooms must be between 0 and <max rooms>. Try again: "

Note: <max rooms> should be replaced with the maximum number of rooms on the respective floor.

Reminder

Don't forget that to avoid integer division, one of the operands should be a floating point number. One way to avoid this is to use the static_cast operator to convert one of the operands to a double before dividing. Keep this in mind when you calculate the occupancy rate.

In: Computer Science

*PLEASE ANSWER LETTERS A-F THOROUGHLY* The Twelve-stars Amusement Park The Twelve-stars traveling amusement park has recently...

*PLEASE ANSWER LETTERS A-F THOROUGHLY*

The Twelve-stars Amusement Park

The Twelve-stars traveling amusement park has recently set up operation in the East Bay. The arrival rate of patrons at the park is estimated as 35 per hour. There is one admissions gate, staffed by a single worker. Admissions can be conducted at an estimated rate of 40 per hour. 40% of patrons go directly to the Ferris wheel, while 30% go to the rollercoaster. The remaining 30% go to the zombie house. The service rate of the Ferris wheel is 18 patrons per hour, while the service rate of the roller coaster is 15 patrons per hour. The service rate of the zombie house is 16 patrons per hour. All of the patrons leaving the Ferris wheel go to the house of mirrors. In addition, 40% of patrons leaving the roller coaster go to the house of mirrors. The house of mirrors serves patrons one at a time at a rate of 25 per hour. All patrons leaving the house of mirrors as well as remaining patrons leaving the rollercoaster all go to the exit gate. In addition, all patrons leaving the zombie house go directly to the exit gate. There is one worker at the exit gate, who can process exiting patrons at a rate of 38 per hour. It is desired to determine for this amusement park, the expected number of patrons waiting at the admission gate, exit gate, and at each ride. It is also desired to determine the expected time patrons spend waiting at each of these locations. If an additional worker was available, at which "station" (i.e., entry gate, exit gate, or ride) should this worker be placed?

The dept. of public safety for Alameda County would like to know what the average number of patrons is expected to be in the park over the course of a day in order to determine whether this meets with safety code and fire Marshall regulations. Current regulations do not allow for more than 40 patrons in the park at any one time. What would you report for this? (i.e., is the requirement met?) (Note that you can treat each station as a single server system!!!!!) Make sure to show your calculations and report your results regarding park operations.

A) Write a short summary of the case, including the purpose of your analysis. B) Show and explain the model you used to evaluate the amusement park system.

C) Show any calculations you used to obtain your results. (Hint: for each gate and ride you will need l, lq, and wq.)

D) Display a summary of results.

E) Answer any questions posed with the case in addition to the summary of results. (i.e., at what ride would you place an additional worker, and are park limitations on patrons being met?)

F) Write a brief conclusion and recommendations. A few sentences will suffice.

In: Operations Management

Goup Number: 14 Group Project 2 - Financial Condition Analysis John Green, a recent graduate with...

Goup Number: 14
Group Project 2 - Financial Condition Analysis
John Green, a recent graduate with four years of for-profit health management experience, was
recently brought in as assistant to the chairman of the board of Digital Diagnostics, a manufacturer of
clinical diagnostic equipment. The company had doubled its plant capacity, opened new sales offices outside its
home territory, and launched an expensive advertising campaign. Digital's results were not satisfactory,
to put it mildly. Its board of directors, which consisted of its president and vice president plus its major
stockholders (who were all local business people), was most upset when directors learned how the expansion
was going. Suppliers were being paid late and were unhappy, and the bank was complaining about the cut off
credit. As a result, Eddie Sanders, Digital’s president, was informed that changes would have to be made, and
quickly, or he would be fired. Also, at the board's insistence, John Green was brought in and given the job of
assistant to Wendy Smith, a retired banker who was Digital's chairwoman and largest stockholder. Sanders
agreed to give up a few of his golfing days and help nurse the company back to health, with Green's assistance.
Green began by gathering financial statements and other data, shown below. The data show the dire situation
that Digital Diagnostics was in after the expansion program. Thus far, sales have not been up to the
forecasted level, costs have been higher than were projected, and a large loss occurred in Year 2, rather than
the expected profit. Green examined monthly data for Year 2 (not given in the case), and he detected an
improving pattern during the year. Monthly sales were rising, costs were falling, and large losses in the early
months had turned to a small profit by December. Thus, the annual data look somewhat worse than final monthly
data. Also, it appears to be taking longer for the advertising program to get the message across, for the new
sales offices to generate sales, and for the new manufacturing facilities to operate efficiently. In other words,
the lags between spending money and deriving benefits were longer thanDigital's managers had anticipated.
For these reasons, Green and Sanders see hope for the company—provided it can survive in the short run.
Green must prepare an analysis of where the company is now, what it must do to regain its financial health,
and what actions should be taken. Green requested your group to complete this assigned task for him.
Use this Excel Workbook to perform the quantitative parts of the analysis and prepare the report as a Word document.
The report shpuld include only the interpretations of the quantitative results. How you found these results are to be shown in this Excel Workbook.
Submit both files via Blackboard as instructed.
Digital Diagnostics
Statement of Operations
Yr 1 Actual Yr 2 Actual Yr 3 Projected
Revenue:
Net patient service revenue $3,432,000 $5,834,400 $7,035,600
Other revenue $0 $0 $0
    Total revenues $3,432,000 $5,834,400 $7,035,600
Expenses:
Salaries and benefits $2,864,000 $4,980,000 $5,800,000
Supplies $240,000 $620,000 $512,960
Insurance and other $50,000 $50,000 $50,000
Drugs $50,000 $50,000 $50,000
Depreciation $18,900 $116,960 $120,000
Interest $62,500 $176,000 $80,000
    Total expenses $3,285,400 $5,992,960 $6,612,960
Operating income $146,600 -$158,560 $422,640
Provision for income taxes $58,640 -$63,424 $169,056
Net income $87,960 -$95,136 $253,584
Digital Diagnostics
Balance Sheet
Yr 1 Actual Yr 2 Actual Yr 3 Projected
Assets
Current assets:
Cash $9,000 $7,282 $14,000
Marketable securities $48,600 $20,000 $71,632
Net accounts receivable $351,200 $632,160 $878,000
Inventories $715,200 $1,287,360 $1,716,480
    Total current assets $1,124,000 $1,946,802 $2,680,112
Property and equipment $491,000 $1,202,950 $1,220,000
Less accumulated depreciation $146,200 $263,160 $383,160
Net property and equipment $344,800 $939,790 $836,840
Total assets $1,468,800 $2,886,592 $3,516,952
Liabilities and shareholders' equity
Current liabilities:
Accounts payable $145,600 $324,000 $359,800
Accrued expenses $136,000 $284,960 $380,000
Notes payable $120,000 $640,000 $220,000
Current portion of long-term debt $80,000 $80,000 $80,000
    Total current liabilities $481,600 $1,328,960 $1,039,800
Long-term debt $323,432 $1,000,000 $500,000
Shareholders' equity:
Common stock $460,000 $460,000 $1,680,936
Retained earnings $203,768 $97,632 $296,216
    Total shareholders' equity $663,768 $557,632 $1,977,152
Total liabilities and shareholders' equity $1,468,800 $2,886,592 $3,516,952
Other data:
Stock price $8.50 $6.00 $12.17
Shares outstanding 100,000 100,000 250,000
Tax rate 40% 40% 40%
Lease payments $40,000 $40,000 $40,000
ANSWER
Industry
Yr 1 Actual Yr 2 Actual Yr 3 Projected Average
Profitability ratios
Total margin 4% -3% 6% 3.6%
Return on assets 6% -3% 7% 9.0%
Return on equity 13% -17% 13% 17.9%
Liquidity ratios
Current ratio 2.33 1.46 2.58 2.70
Days cash on hand 1.01 0.45 0.79 22.0
Debt management (capital structure) ratios
Debt ratio 55% 81% 44% 50.0%
Debt to equity ratio 0.49 1.79 0.25 2.5
Times-interest-earned ratio 1.35 -1.9 4.28 6.2
Cash flow coverage ratio 1.65 -1.24 5.78 8.00
Asset management (activity) ratios
Fixed asset turnover 9.95 6.21 8.41 7.00
Total asset turnover 2.34 2.02 2 2.50
Days sales outstanding 37.35 39.55 45.55 32.0
Other ratios
Average age of plant 6.1
Earnings per share n/a
Book value per share n/a
Price/earnings ratio 16.20
Market/book ratio 2.90
Digital Diagnostics
Common Size Statement of Operations
Industry
Yr 1 Actual Yr 2 Actual Yr 3 Projected Average
Revenue:
Net patient service revenue 100.0% 100.0% 100.0% 100.0%
Other revenue 0.0% 0.0% 0.0% 0.0%
    Total revenues 100.0% 100.0% 100.0% 100.0%
Expenses:
Salaries and benefits 83.0% 85.0% 82.0% 84.5%
Supplies 7.0% 11.0% 7.0% 3.9%
Insurance and other 1.0% 1.0% 1.0% 0.3%
Drugs 1.0% 1.0% 1.0% 0.3%
Depreciation 1.0% 2.0% 2.0% 4.0%
Interest 2.0% 3.0% 1.0% 1.1%
    Total expenses 96.0% 103.0% 94.0% 94.1%
Operating income 4.0% -3% 6.0% 5.9%
Provision for income taxes 2.0% -1.0% 2.0% 2.4%
Net income 3.0% -2.0% 4.0% 3.5%
Digital Diagnostics
Common Size Balance Sheet Industry
Yr 1 Actual Yr 2 Actual Yr 3 Projected Average
Assets
Current assets:
Cash 0.3%
Marketable securities 0.3%
Net accounts receivable 22.3%
Inventories 41.2%
    Total current assets 64.1%
Property and equipment 53.9%
Less accumulated depreciation 18.0%
Net property and equipment 35.9%
Total assets 100.0%
Liabilities and shareholders' equity
Current liabilities:
Accounts payable 10.2%
Accrued expenses 9.5%
Notes payable 2.4%
Current portion of long-term debt 1.6%
    Total current liabilities 23.7%
Long-term debt 26.3%
Shareholders' equity:
Common stock 20.0%
Retained earnings 30.0%
    Total shareholders' equity 50.0%
Total liabilities and shareholders' equity 100.0%

Please add the work on how to do it on excel. Detailed explanation please. Thank you!

In: Accounting

The following table gives the total area in square miles​ (land and​ water) of seven states....

The following table gives the total area in square miles​ (land and​ water) of seven states. Complete parts​ (a) through​ (c).

State   Area
1   52,300
2   615,400
3   115,000
4   53,600
5   159,500
6   104,800
7   6,100

a. Find the mean area and median area for these states.

The mean is __ square miles.

​(Round to the nearest integer as​ needed.)

The median is ___ square miles.

b. Which state is an outlier on the high​ end? If you eliminate this​ state, what are the new mean and median areas for this data​ set?

State___ is an outlier on the high end.

The new mean is_____square miles.

​(Round to the nearest integer as​ needed.)

The new median is____square miles.

​(Round to the nearest integer as​ needed.)

c. Which state is an outlier on the low​ end? If you eliminate this​ state, what are the new mean and median areas for this data​ set?

State____is an outlier on the low end.

The new mean is_____square miles.

​(Round to the nearest integer as​ needed.)

The new median is_____square miles.

​(Round to the nearest integer as​ needed.)

In: Statistics and Probability

A leasing firm claims that the mean number of miles driven annually, μ, in its leased...

A leasing firm claims that the mean number of miles driven annually, μ, in its leased cars is less than 12700 miles. A random sample of 25 cars leased from this firm had a mean of 12031 annual miles driven. It is known that the population standard deviation of the number of miles driven in cars from this firm is 2800 miles. Assume that the population is normally distributed. Is there support for the firm's claim at the 0.01 level of significance? Perform a one-tailed test. Then fill in the table below. Carry your intermediate computations to at least three decimal places, and round your responses as specified in the table. (If necessary, consult a list of formulas.)

The null hypothesis:

H0:

The alternative hypothesis:

H1:

The type of test statistic: (Choose one)ZtChi squareF
The value of the test statistic:
(Round to at least three decimal places.)
The p-value:
(Round to at least three decimal places.)
Can we support the leasing firm's claim that the mean number of miles driven annually is less than 12700 miles? Yes No

In: Math

An increase in the PV cell temperature will: Select one or more: a. Increase the maximum...

An increase in the PV cell temperature will:

Select one or more:

a. Increase the maximum power of the cell

b. Decrease the current of the cell

c. Decrease the open circuit voltage of the cell

d. Decrease the maximum power of the cell

e. Increase the open circuit voltage of the cell

Question 2

Not yet answered

Marked out of 1.0

Flag question

Question text

What is the water outlet pressure of a Pelton turbine?

Select one:

a. Less than the inlet pressure

b. Greater than the inlet pressure

c. Equal to the inlet pressure

Question 3

Not yet answered

Marked out of 1.0

Flag question

Question text

Which of the following is a source of indirect emissions from a commercial company?

Select one or more:

a. Electricity purchased

b. Extraction of raw material to manufacture the product

c. Independently owned transport of product to customer

d. Transport of materials to site by vehicles owned and operated by the company

Question 4

Not yet answered

Marked out of 1.0

Flag question

Question text

Fuel Combusted

Energy Factor (GJ/t)

Emission factor kg CO2-e/GJ

CO2

CH4

N2O

Black Coal [Non- coking]

27.0

88.2

0.03

0.2

Brown Coal

10.2

92.7

0.01

0.4

Coking Coal

30.0

90.0

0.02

0.2

Brown Coal Briquettes

22.1

93.3

0.06

0.3

Using the table above, what are the total GHG emissions of a company who consumes 25,000 tonnes of brown coal briquettes?

Answer nearest 1,000 t

Select one:

a. 28,000 t CO2-e

b. 55,000 t CO2-e

c. 52,000 t CO2-e

d. 24,000 t CO2-e

Question 5

Not yet answered

Marked out of 1.0

Flag question

Question text

What is the purpose of a yaw drive on wind turbines?

Select one:

a. Maintain power generation during high wind speed events

b. Communication between turbine gearbox and turbine hub

c. Maintain rotor position to be perpendicular to wind direction

d. Maintain power generation during low wind speed events

What is the specific wind power (W/m2) for a wind speed of 12 m/s?

Answer nearest 100. Assume air density is 1.21 kg/m3.

Select one:

a. 1,200

b. 1,500

c. 1,000

d. 100

Question 7

Not yet answered

Marked out of 1.0

Flag question

Question text

Which of the following can be considered a renewable energy source?

Select one or more:

a. Hydrogen production from solar-assisted electrolysis of water

b. Hydrogen production from oil refined hydrocarbons

c. Nuclear fission

d. Ebb and flow of the tide

Question 8

Not yet answered

Marked out of 1.0

Flag question

Question text

What is the p-layer of traditional solar cells doped with?

Select one:

a. Silicon atoms

b. Phosphorous atoms

c. Aluminium atoms

d. Boron atoms

In: Physics

Suppose that you have isolated the enzyme sucrase (able to hydrolyze sucrose into glucose and fructose),...

Suppose that you have isolated the enzyme sucrase (able to hydrolyze sucrose into glucose and fructose), and you wish to determine the nature of inhibitor A for this enzyme. You have prepared five different concentrations of substrate (sucrose), and five different concentrations of inhibitor A (plus the control, with zero mM of inhibitor A). The following Table lists the inhibitor A concentrations [I], substrate concentrations [S], and resulting enzyme velocities (Vo) for all six of these experiments:

[I]

[S]

Vo

1/[S]

1/ Vo

0 mM

0.1 mM

0.333333333333 mM per minute

0 mM

0.2 mM

0.50

0 mM

0.3 mM

0.60

0 mM

0.4 mM

0.666666666667

0 mM

0.5 mM

0.714285714286

0.1 mM

0.1 mM

0.20

0.1 mM

0.2 mM

0.333333333333

0.1 mM

0.3 mM

0.428571428571

0.1 mM

0.4 mM

0.50

0.1 mM

0.5 mM

0.555555555556

0.20 mM

0.1 mM

0.142857142857

0.20 mM

0.2 mM

0.25

0.20 mM

0.3 mM

0.333333333333

0.20 mM

0.4 mM

0.40

0.20 mM

0.5 mM

0.454545454545

0.3 mM

0.1 mM

0.111111111111

0.3 mM

0.2 mM

0.20

0.3 mM

0.3 mM

0.272727272727

0.3 mM

0.4 mM

0.333333333333

0.3 mM

0.5 mM

0.384615384615

0.40 mM

0.1 mM

0.090909090909

0.40 mM

0.2 mM

0.166666666667

0.40 mM

0.3 mM

0.230769230769

0.40 mM

0.4 mM

0.285714285714

0.40 mM

0.5 mM

0.333333333333

0.5 mM

0.1 mM

0.076923076923

0.5 mM

0.2 mM

0.142857142857

0.5 mM

0.3 mM

0.20

0.5 mM

0.4 mM

0.25

0.5 mM

0.5 mM

0.294117647059

Construct a Michaelis-Menten plot, and a Lineweaver-Burk plot, for all six of these experiments on the same graph (for each plot). Calculate the Vmax, the Km, and the slope (Vmax/Km ) for the control (with [I] = 0 mM) and for each non-zero concentration of inhibitor A ([I] = 0.1, 0.2, 0.3, 0.4, and 0.5 mM). Which type of reversible enzyme inhibition is illustrated by inhibitor A?

Since many of you do not have scanners or cameras to send me an e-mail image of your graphs, the grading of this assignment will be based entirely on your calculations. I will be looking for your six Vmax calculations (6 points), your six Km calculations (6 points), your six Vmax/Km or slope of the line calculations (6 points), and the type of reversible enzyme inhibition that you identify for inhibitor A, along with reasons to justify your identification (2 points).

In: Biology

2.  The percentage of people in a population with a certain ailment (Ailment A) is  7.3%. a.  If you...

2.  The percentage of people in a population with a certain ailment (Ailment A) is  7.3%.

a.  If you select a sample of  10 people from this population, what is the probability that at most two of them will have Ailment A ?  

b.  What is the probability that at least 3 of them would have this ailment ?

c.  If you select a sample of  200 people, what is the probability that less than 10 will have ailment A ?  Use the normal approximation technique.

d.  What is the probability, in your sample of  200, that at least  20 will have Ailment A ?

4.  The accumulated miles between repairs for vehicle engines is 24,000 miles with a standard deviation of  2000 miles. The accumulated miles, which have been recorded over time, follow a normal distribution.

a.  Find the probability that an engine you just received will last longer than  26,000 miles.

b.  Find the probability that the mean accumulated mileage from a sample of  10 engines exceeds  26,000 miles.

c.  Find the 1st, 2nd, and 3rdquartiles for the accumulated miles between repairs.

d.  Now, you are looking at vehicle transmissions.  The historical data for transmission mileages indicates a population mean of  16,000 miles with a standard deviation of 2600 miles.  The mileage for transmissions does not follow a normal distribution. Find the probability that, in a large train shipment of  40 transmissions, the average mileage for this sample will be less than  15,000 miles.

e.  If the average for your transmission sample of  40 falls below the bottom  10%, you are going to declare a stand-down of the workforce to determine what is going wrong.  What is the cutoff number of miles for the bottom 10% of your sample average?

f.  Back to the engines . . .  If a single engine is considered a “failure” if it doesn’t accumulate at least 22,000 miles between repairs, what is the chance that an engine will fail to meet its anticipated mileage accumulation?

g.  Given the criteria just stated, what would be the “expected number" of failures in the next 1000 engines that are placed into vehicles?

In: Statistics and Probability