One of New England Air's top competitive priorities is on-time arrivals. Quality VP Clair Bond decided to personally monitor New England Air's performance. Each week for the past 30 weeks, Bond checked a random sample of 100 flight arrivals for on-time performance.
Sample (week) |
Late Flights |
Sample (week) |
Late Flights |
1 |
3 |
16 |
2 |
2 |
2 |
17 |
1 |
3 |
11 |
18 |
13 |
4 |
11 |
19 |
2 |
5 |
2 |
20 |
1 |
6 |
1 |
21 |
3 |
7 |
8 |
22 |
19 |
8 |
6 |
23 |
3 |
9 |
11 |
24 |
1 |
10 |
0 |
25 |
3 |
11 |
2 |
26 |
2 |
12 |
3 |
27 |
0 |
13 |
2 |
28 |
1 |
14 |
2 |
29 |
4 |
15 |
7 |
30 |
4 |
a) Using a 95% confidence level, plot the overall percentage of late flights ( p ) and the upper and lower control limits on a control chart.
b) Assume that the airline industry’s upper and lower control limits for flights that are not on time are .1000 and .0400, respectively. Draw them on your control chart.
c) Plot the percentage of late flights in each sample. Do all samples fall within New England Air’s control limits? When one falls out-side the control limits, what should be done?
d) What can Clair Bond report about the quality of service?
(Please Screen shot the Excel if its in excel
In: Operations Management
Create a C++ or Java program codes for Login Attendance applying the queue principle that will select students from the last attendance login to answer a question.
NOTE: Program execution should include deletion and insertion of attendance information/element
In: Computer Science
write a program that takes the input value from the user and calculate the sum from that number to zero in MIPS
In: Computer Science
Comparing ABC and Plantwide Overhead Cost Assignments
Wellington Chocolate Company uses activity-based costing (ABC). The controller identified two activities and their budgeted costs:
Setting up equipment | $270,000 |
Other overheard | $2,160,000 |
Setting up equipment is based on setup hours, and other overhead
is based on oven hours.
Wellington produces two products, Fudge and Cookies. Information on
each product is as follows:
Fudge | Cookies | ||||
Units produced | 8,000 | 445,000 | |||
Setup hours | 4,000 | 1,000 | |||
Oven hours | 1,800 | 12,600 |
Required:
Round your answers to the nearest whole dollar, unless otherwise directed.
1. Calculate the activity rate for (a) setting up equipment and (b) other overhead.
a. Setting up equipment | $ per setup hour |
b. Other overhead | $ per oven hour |
2. How much total overhead is assigned to Fudge
using ABC?
$
3. What is the unit overhead assigned to Fudge
using ABC? Round to the nearest cent.
$per unit
4. Now, ignoring the ABC results, calculate the
plantwide overhead rate, based on oven hours. Round to the nearest
cent.
$ per oven hour
5. How much total overhead is assigned to Fudge
using the plantwide overhead rate?
$
6a. The difference in the total overhead assigned to Fudge is different under the ABC system and non–ABC system because .
6b. What is the difference in total overhead assigned to fudge under the two methods?
$In: Accounting
Construct a confidence interval of the population proportion at the given level of confidence.
x equals=860,
n equals=1200,
90% confidence
What are the upper and lower bounds
In: Math
A 50·g ice cube (at 0°C) is placed in an insulated cup with 250·g of water which is at 46°C. The latent heat of fusion for ice is 80·cal/g and the specific heat of water is 1.0·cal/g/°C.
(a) How much heat will the ice have to absorb from the water to completely melt (and turn into 0°C water)? ___ cal.
(b) Find the temperature of the 250·g of water initially at 46°C after it loses the heat required to melt the ice.? ___ °C.
(c) How much heat will the 250·g of warmer water have to transfer to the cooler water in order for its temperature to drop by 1°C? ____ cal.
(d) How much will the temperature of the 50·g of cooler water rise when it gains the heat lost by the warmer water as it cools by 1°C? ____°C.
(e) Using your results from the two previous parts, continue to follow the process of heat transfer between the warmer and cooler water until they come to equilibrium. At what temperature will they reach thermal equilibrium? _____°C.
In: Physics
Approximately 1000 word report (800-1300 words excluding Conclusion) on ONE of the following topics: 1. Quantum Cryptography 2. Quantum Computing and its impact on Cryptography 3. Zero-knowledge protocols (or proofs) in Signature Schemes 4. Secret Sharing (or splitting) in Cryptography It is VERY important that references are included (Note: Wikipedia is NOT acceptable)
This assessment requires the student to choose a topic from a supplied list and write a report as if it were to be presented as a professional development lecture for their peers. The choice of topics may include but not be limited to, material covered throughout the subject. Potential topics not covered in lectures may include quantum cryptography and quantum computing. Students are expected to discuss their choice with their lecturer during the workshops. This assignment is designed to improve the student’s organisational skills and encourage independent research into other topics not directly covered in lectures. Please present your lecture in report format which includes the following sections: • Title page • Introduction • Body paragraph • Body paragraph • Body paragraph • Conclusion • References • Appendices (if necessary) The report should: • include diagrams explaining concepts • Include all references cited and must be referenced in Harvard AGPS
In: Computer Science
In python I have my code written and I want just 4 functions to be fix in my code according to rule. My code is running but it has some problem regarding to rules. (I have did all the other things so you do not have to worry about other functions)
1) all the players has to play until he/she reaches to at least 500 points in first round.
When user reach 500 points for the first time, user may choose to immediately end his turn to prevent losing the points.
If you user did choose to save his turn and if he get farkle the score will be 0. (This is just for the first round.)
2) fix my scoring according to point table.
point table for game:
5 = 50 points
1 = 100 points
Triplet of 1 = 300 points "Example(1,1,1)"
Triplet of 2 = 200 points
Triplet of 3 = 300 points
Triplet of 4 = 400 points
Triplet of 5 = 500 points
Triplet of 6 = 600 points
Four of a Kind [Example(4,4,4,4)] = 1,000 points
Five of a Kind[Example(4,4,4,4,4)] = 2,000 points
Six of a Kind [Example(4,4,4,4,4,4)] = 3,000 points
(1,2,3,4,5,6 ) = 1,500 points
Three Pairs [Example(4,4,2,2,1,1)]= 1,500 points
Four of a Kind + a Pair [Example(4,4,4,4,1,1)]= 1,500 points
Two sets of Three of a Kind [Example(4,4,4,6,6,6)] = 2,500 points
NOTE(single 2,3,4,6 does not have any point.)
3) there are six die in game and I have already implement it but it not working as rules.
computer have to Take out any dice worth points after each roll.
user has to Roll the remaining dice,
removing any dice worth points and adding them to your running total.
If user are ever able to set aside all six dice, user can roll again all of his dice and keep building his running total.
If ever user are unable to set aside any dice ( dice contain 0 points), user have Farkled. user lose his running point total and his turn is over.
4) Winning (I have also did little bit but i want to make it simple so can you see it and fix)
If any player score 10,000 points in game
The end game sequence will start
Each other player has one turn to try to beat score of player who scored 10,000 points.
After all remaining players have had their turn, the player with the highest score wins.
you should enter the number of players as a parameter ( 2 to 6 players) .
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
import random
import math
class Dice:
def __init__(self, sides=6):
self.sides = sides
def roll(self, n=1):
return [int(math.floor(random.random() * 6) + 1) for _ in range(n)]
class Farkle:
def __init__(self):
print ("Lets play Farkle")
self.gamers = [] #INIT
self.num_gamers = int(input("No. of gamers? ")) #INIT
if(self.num_gamers < 2 or self.num_gamers > 6):
print("No of gamers need to be more than 2 and less than 6")
else:
for i in range(self.num_gamers):
#get name of gamer
gamer = input("Name of gamer {0}: ".format(i+1))
self.gamers.append(gamer) #list of gamers
#INIT
self.scores = {'_highest':[0, '']}
for gamer in self.gamers:
self.scores[gamer] = 0
self.Counter_round = 0 #INIT
self.dice = Dice()
def Begin(self):
if(self.num_gamers >= 2 and self.num_gamers <= 6):
print ("The game has %s gamers. Their names are:" % self.num_gamers)
self.gamer_scores()
input("Enter if you are ready to begin!")
while self.scores['_highest'][0] < 10000:
self.Round()
self.End()
def End(self):
if(self.num_gamers >= 2 and self.num_gamers <= 6):
print ("Hey Congratulations, {0}! You are the winner with a score of {1}.".format(self.scores['_highest'][1], self.scores['_highest'][0]))
print ("The total scores were:")
self.gamer_scores()
def Round(self):
self.Counter_round += 1
print ("******************")
print (" Round {0}".format(self.Counter_round))
print ("******************")
if self.Counter_round > 1:
print ("{0} is currently is leading with {1} points.".format(self.scores['_highest'][1], self.scores['_highest'][0]));
print ("The total scores are:")
self.gamer_scores();
for gamer in self.gamers:
self.AnotherRound(gamer)
print(input("ENTER when you are ready to proceed to the next round"))
return
def AnotherRound(self, gamer):
input("{0}, it's your AnotherRound. Enter when you are ready to roll.".format(gamer))
#create empty dictionery for count every number
s_num = {}
roll = self.dice.roll(6)
#single 5's has 50 points
z_s = 0
#count any kind of number frequency and stored in dictionary
for i in roll:
s_num[i] = roll.count(i)
#condition for three pairs or 1 pair and 4 any kind of
flag_pairs = True
l = 0
k = 0
m = 0
for key,value in s_num.items():
if(key in [1,2,3,4,5] and value == 2):
l+=1
#4 any kind of
elif(key in [1,2,3,4,5] and value == 4):
k +=1
elif(key in [1,2,3,4,5] and value == 3):
m +=1
#for three pairs
if(l==3):
flag_pairs = False
z_s += 1500
#for 1 pair and 4 any kind of
elif(l==1 and k==1):
flag_pairs = False
z_s += 1500
#two sets any three kind of
elif(m==2):
flag_pairs = False
z_s += 2500
#simple for [1,2,3,4,5,6]
elif(roll == [1,2,3,4,5,6]):
flag_pairs = False
z_s += 1500
if(flag_pairs):
for key,value in s_num.items():
#5's
if(key == 5 and value in [1,2]):
z_s += 50*value
#1's
elif(key == 1 and value in [1,2]):
z_s += 300*value
#three 2's
elif(key == 2 and value == 3):
z_s += 200
#three 3's
elif(key == 3 and value == 3):
z_s += 300
#three 4's
elif(key == 4 and value == 3):
z_s += 400
#three 5's
elif(key == 5 and value == 3):
z_s += 500
#three 6's
elif(key == 6 and value == 3):
z_s += 600
# 4 any kind of
elif(key in [1,2,3,4,5,6] and value == 4):
z_s += 1000
# 5 any kind of
elif(key in [1,2,3,4,5,6] and value == 5):
z_s += 1500
# 6 any kind of
elif(key in [1,2,3,4,5,6] and value == 6):
z_s += 3000
else:
z_s += key*value
score = z_s
print (" You scored {0}".format(roll))
self.scores[gamer] += score
print (" Your score is now: {0}".format(self.scores[gamer]));
if self.scores[gamer] > self.scores['_highest'][0]:
self.scores['_highest'][0] = self.scores[gamer]
self.scores['_highest'][1] = gamer
return
def gamer_scores(self):
for gamer in self.gamers:
print (gamer + "; Score: " + str(self.scores[gamer]))
if __name__ == '__main__':
play = True
while play:
print(
'''Farkle is a dice game that is multiplayer (2 to 6 gamers)!
Whoever reaches 10000 points first wins
Rules:
5s : 50 points
1s : 100 points
2,2,2 : 200 points
3,3,3 : 300 points
4,4,4 : 400 points
5,5,5 : 500 points
6,6,6 : 600 points
Four of a kind : 1000 points
Five of a kind : 2000 points
Six of a kind : 3000 points
A straight 1 to 6 : 1500 points
Four of a kind + Pair: 1500 points
Two sets of Three of a Kind = 2500''')
f = Farkle()
f.Begin()
replay = input("Would you like to play again? ")
while True:
if replay.upper() in ['Y', 'YE', 'YES']:
break
elif replay.upper() in ['N', 'NO']:
play = False
break
else:
print("Please enter yes or no")
break
In: Computer Science
I am unsure as to why I cannot solve my Computer Science question I was just wondering if someone could show me exactly what they would do the code is in C++:
write a program that display the following manual for user to chose among calculations
Please select one of the following:
The program will then read in the user entry.
when the user chose "1", it will ask the user "Please enter two numbers separated by space:", read these two numbers into variables, add them and display the sum; when the user chose "2", it will ask the user "Please enter two numbers separated by space:", read these two numbers into variables, subtract the 2nd number from the first one and display the result; when the user chose "3", it will ask the user "Please enter two numbers separated by space:", read these two numbers into variables, multiply them and display the product; when the user chose "4", it will ask the user "Please enter two numbers separated by space:", read these two numbers into variables, divide the first number by the 2nd number, and display the quotient; when the user chose "5", exit the program; when what the user entered is not within the range of 1~5, display "This is Not a valid choice."
In: Computer Science
You collect a sample of hydrogen gas in an inverted buret by displacement of water at 23 degrees C. The buret could not be submerged deep enough in the water level in the water bath. The volume of gas in the buret was determined to be 32.60 mL.
a. If the current atmospheric pressure was 29.45" of Hg, what is the pressure of dry hydrogen in the buret? Show your work.
b. How many moles of hydrogen are in this sample? Show your work.
In: Chemistry
In 2009, Roche Holding AG (Roche) made an offer to acquire all remaining outstanding shares of US biotechnology company Genentech. To pay for the deal, Roche planned to sell a record $32 billion in bonds at various maturities from 1 year to 30 years, and in three different currencies (USD, Euro, British pound). For simplicity, let us assume they only issue 10 year dollar-denominated bonds. The 10 year interest rates on corporate bonds, and the median earnings to interest expense ratios (EBITDA/interest expense coverage ratio) for US rated industrial companies at the time were as follows:
Rating | Interest rate | Coverage ratio |
---|---|---|
AAA | 4.0% | 114.0 |
AA | 4.9% | 44.0 |
A | 5.6% | 12.8 |
BBB | 7.0% | 8.2 |
With the acquisition of Genentech, suppose we project that Roche will have earnings (EBITDA) of $23 billion, and their interest expense will be $32 billion (the debt) times the interest rate. If we use the coverage ratio to estimate the bond rating, and we use the bond rating to estimate the interest rate, what rating will we assign to Roche's debt?
AAA
AA
A
BBB
In: Finance
Frederick Taylor (1856-1915) is the father of scientific management, a method for analyzing work flows with a specific focus on improving labor productivity. Taylor's methods have had a large influence on the Lean philosophy, particularly standardized work (e.g., standard parts and standard work instructions). Despite Taylor's connection to Lean, he would likely analyze a business process very differently from Taiichi Ohno (1912-1990), the father of Lean thinking and past CEO of Toyota. Consider the following situation. Taylor and Ohno walk down a hospital corridor together and see a nurse chatting with a patient who is waiting for a CT scan. Both would be upset about this “waste,” but for different reasons. Taylor would be upset about the nurse not doing work and Ohno would be upset about the patient not flowing smoothly through the system. Both would see waste, but for Taylor the focus is the worker and for Ohno the focus is the product, or in this case, the patient. In a Lean system, a nurse waiting for the next patient to triage is not a waste, but a patient waiting for triage is. For Taylor, the opposite is true.
Briefly argue in favor of Taylor's perspective or Ohno's perspective.
In: Operations Management
Select all that are correct: 14. Brown Dwarfs: a. are plotted at the extreme lower left-hand corner of an HR diagram. b. are all main sequence stars. c. are actually Òfailed stars.Ó d. include Jupiter. e. are all thought to be the final evolutionary state of the lowest mass Main Sequence stars. 20. During post main sequence evolution: a. elements heavier than helium can be produced. b. the remaining lifetime is much shorter than the same star's main sequence lifetime had been. c. all stars will become extreme Population I stars in their surface spectrum. d. some stars still continue to burn hydrogen in their innermost cores. e. all stars tend to increase their masses slightly.
In: Physics
a box contains two halves separated by a partition. Initially, there are 3 ideal gas molecules in the left half, and a vacuum in the right half. The partiition is then removed so the gas goes through a "free expansion" so that the speeds of the molecules are unaffected. In the final state, each molecule has probability of 1/2 of being in the left half of the box and probability of 1/2 being in the right half od the box. Because each of the 3 molecules now has twice as many possible positions than before, the number of microstates of the system has increased by a factor of 2x2x2=2^3. Determine the change in entropy of the system as a result of removing the partition. (Note: We can only calculate the change in entropy of the system but not the initial and final entropy values without knowing more information) What is the probability that all three molecules will simultanesouly be in the left half of the box?
In: Physics
1. As the frequency goes to zero, to what value does the phase constant approach? What is expected?
2. To what value should the phase constant approach at very high (compared to the resonant frequency)?
3. Does the current lead or lag the applied voltage at very high frequency?
4. For driving frequencies below the resonant frequency, which is larger, the capacitive reactance or the inductive reactance?
5. Can any of the amplitudes VR, VL, or Vc be larger than the amplitude of the source emf E? Why or why not? One might consider an RLC phasor diagram to answer this question.
In: Physics