Questions
a review of an airlines operation revealed that historically the airline had an average of 6.42...

a review of an airlines operation revealed that historically the airline had an average of 6.42 mishandled bags per 1.000 passengers . " A mishandled bag" is luggage that was sent together with the passengers plane . it was either lost or arrived late.
a. what is the chance that for the next 2000 passengers , the airline will have more than 11 mishandled bags ?
b. after a consulting company evaluated the airlines operations the airline overhauled its bag monitoring computer system. as a result the number of mishandled bag per 1000 passengers decreased by %30 . given that computer system what is the probability that for the next 3000 passengers the airline will have fewer than 10 mishandled bags ?

In: Statistics and Probability

1.) (Be Sure to fill out full 6 steps number them) Q: A college admissions officer...

1.) (Be Sure to fill out full 6 steps number them)

Q: A college admissions officer for the school’s online undergraduate program wants to estimate the mean age of its graduating students. The administrator took a random sample of 40 from which the mean was 24 years and the standard deviation was 1.7 years.

If the mean age of online undergraduate students was 23 years of age, what is the probability that the sample of 40 would have produced a mean age of 24 or higher? Be sure to set up the two competing hypotheses and provide a statistical conclusion statement at a 5% level of significance for your results.

In: Statistics and Probability

An article reported that what airline passengers like to do most on long flights is rest...

An article reported that what airline passengers like to do most on long flights is rest or sleep; in a survey of 3697 passengers, almost 80% did so. Suppose that for a particular route the actual percentage is exactly 80%, and consider randomly selecting nine passengers. Then x, the number among the selected nine who rested or slept, is a binomial random variable with n = 9 and p = 0.8. (Round your answers to four decimal places.)

(a) Calculate p(6).

b) Calculate p(9), the probability that all nine selected passengers rested or slept.
p(9) =  

(c) Determine P(x ≥ 6).

In: Statistics and Probability

A probability and statistics professor surveyed 11 students in her​ class, asking them questions about their...

A probability and statistics professor surveyed 11 students in her​ class, asking them questions about their study strategy. The number of hours studied and the grade for the course test are in the table​ below:

Hours Studied​ (X)

11

99

22

44

99

11

88

1010

66

99

22

Test Grade​ (Y)

46

91

57

71

90

52

81

98

82

94

64

1.The correlation coefficient is....

he correlation coefficient in part a. suggests that the relationship between Hours Studied and Test Grade​ is:

A.

negative and strong

B.

positive and strong

C.

negative and weak

D.

positive and weak

In: Statistics and Probability

Question 3 [25] OK furniture store submit weekly records the number of customer contacts contacted per...

Question 3 [25]
OK furniture store submit weekly records the number of customer contacts contacted per week. A sample of 50 weekly reports showed a sample mean of 25 customer contacts per week. The sample standard deviation was 5.2. (Show all your works)
a) Compute the Margin of error at 0.05 significant level

b) Provide a 95% confidence interval for the population mean.

c) Compute the Margin of error at 0.01 significant level

d) Provide a 99% confidence interval for the population mean.

e) With a 0.99 probability, what size of sample should be taken if the desired margin of error is 1.5

In: Math

design a program that lets the user enter the total rainfall for each of 12 months...

design a program that lets the user enter the total rainfall for each of 12 months into an array. The program should calculate and display the total rainfall for the year, the average monthly rainfall, and the months with the highest and lowest amounts.  

---->>> Enhance the program so it sorts the array in ascending order and displays the values it contains.

You can choose which sorting algorithm to use (bubble sort, selection sort, or insertion sort). Depending on your choice, you must implement one of the following functions:

def bubble_sort(months, months_len)

def selection_sort(months, months_len)

def insertion_sort(months, months_len)

Example Run

Please enter the rainfall for month [ January ]

15.5

Please enter the rainfall for month [ February ]

17.2

Please enter the rainfall for month [ March ]

18.0

Please enter the rainfall for month [ April ]

22.2

Please enter the rainfall for month [ May ]

15.9

Please enter the rainfall for month [ June ]

2.2

Please enter the rainfall for month [ July ]

0

Please enter the rainfall for month [ August ]

0

Please enter the rainfall for month [ September ]

2.1

Please enter the rainfall for month [ October ]

8.5

Please enter the rainfall for month [ November ]

12.0

Please enter the rainfall for month [ December ]

15.5

Total Rainfall: 129.10000000000002

Average Monthly Rainfall: 10.758333333333335

Month with highest rainfall: April

Month with lowest_rainfall: July

Monthly Rainfall Sorted (ascending):

0 inches

0 inches

2.1 inches

2.2 inches

8.5 inches

12.0 inches

15.5 inches

15.5 inches

15.9 inches

17.2 inches

18.0 inches

22.2 inches


_____________________________________________________________________________________________________________

MONTH_NAMES = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']

NUMBER_OF_MONTHS = 12

def get_total_rainfall(months, months_len):

"""

Module Name: get_total_rainfall

Parameters: int [] -> months: an array of integers representing the rainfall in each month

int -> months_len: the length of the 'months' parameter array

Description: Iterates over the array and calculates the total rainfall

"""

# Python Shortcut:

#total_rainfall = sum(months)

total_rainfall = 0

# Iterate of the array of months to accumulate the total.

for index in range(0, months_len):

total_rainfall += months[index]

return total_rainfall

def get_average_monthly_rainfall(months, months_len):

"""

Module Name: get_average_monthly_rainfall

Parameters: int [] -> months: an array of integers representing the rainfall in each month

int -> months_len: the length of the 'months' parameter array

Description: Calculates and returns the average monthly rainfall based on the 'months' array

"""

# Average is calculated by dividing the total by the number of elements.

return get_total_rainfall(months, months_len) / months_len

def get_month_with_highest_rainfall(months, months_len):

"""

Module Name: get_month_with_highest_rainfall

Parameters: int [] -> months: an array of integers representing the rainfall in each month

int -> months_len: the length of the 'months' parameter array

Description: Finds and returns the month with the highest rainfall.

Returns the first month if more than one month qualify as 'highest'

"""

# Sequentially search the array to find the maximum

max_index = 0

for index in range(1, months_len):

if months[max_index] < months[index]:

max_index = index

return max_index

def get_month_with_lowest_rainfall(months, months_len):

"""

Module Name: get_month_with_highest_rainfall

Parameters: int [] -> months: an array of integers representing the rainfall in each month

int -> months_len: the length of the 'months' parameter array

Description: Finds and returns the month with the lowest rainfall.

Returns the first month if more than one month qualify as 'lowest'

"""

# Sequentially search the array to find the minimum

min_index = 0

for index in range(1, months_len):

if months[min_index] > months[index]:

min_index = index

return min_index


def main():

"""

Module Name: main

Parameters: None

Description: Program entry point. Provides the program flow of execution

"""

months = [0.0] * NUMBER_OF_MONTHS

# Input

# Prompt the user to collect the rainfall for each month of the year

for index in range(0, NUMBER_OF_MONTHS):

print("Please enter the rainfall for month [", MONTH_NAMES[index], "]")

rainfall = float(input())

months[index] = rainfall

# Processing

# Calculate the attributes per the assignment

total_rainfall = get_total_rainfall(months, NUMBER_OF_MONTHS)

average_rainfall = get_average_monthly_rainfall(months, NUMBER_OF_MONTHS)

highest_rainfall_index = get_month_with_highest_rainfall(months, NUMBER_OF_MONTHS)

lowest_rainfall_index = get_month_with_lowest_rainfall(months, NUMBER_OF_MONTHS)

# Output

# Display the results

print("Total Rainfall: ", total_rainfall)

print("Average Monthly Rainfall: ", average_rainfall)

print("Month with highest rainfall:", MONTH_NAMES[highest_rainfall_index])

print("Month with lowest_rainfall:", MONTH_NAMES[lowest_rainfall_index])

main()

##Wondering if you can show all 3 sort methods

##thank you!

In: Computer Science

A flea can jump straight up to a height of 22.0 cm

A flea can jump straight up to a height of 22.0 cm.


(a) What is its initial speed (in m/s) as it leaves the ground, neglecting air resistance?
(b) How long is it in the air?
(c) What are the magnitude and direction of its acceleration while it is
i. moving upward?
ii. moving downward?
iii. at the highest point?

In: Physics

#1. In the reaction: C2H4(g) + H2O(g) <---> C2H5OH(g)       DeltaH = -47.8 kJ          Kc = 9.00*103...

#1. In the reaction: C2H4(g) + H2O(g) <---> C2H5OH(g)       DeltaH = -47.8 kJ          Kc = 9.00*103 @ 600. K

     a. At equilibrium, PC2H5OH = 200. atm & PH2O = 400. atm. Calculate PC2H4.

   b. Which set of conditions results in the highest yield of product.

        Pressure high/low __________     Temperature high/low ________

In: Chemistry

A makeup test is given and the average (μX) score out of 100 was 85.0, with...

A makeup test is given and the average (μX) score out of 100 was 85.0, with a SD (σX) of 3.0. Assuming a normal distribution, find the dividing line (test scores) between the A's, B's, C's, D's, and E's. This time the highest 6% will be the A's, the next 16% B's, the next 26% C's, the next 36% D's.

In: Statistics and Probability

1) Which of the following is a solid at room temperature with the lowest melting point?...

1) Which of the following is a solid at room temperature with the lowest melting point?

a. caffine b. sodium carbonate c. water d. dichloromethane e. sodium sulfate

2) Which has the highest density and is solid at room temperature?

a. caffine b. sodium carbonate c. water d. dichloromethane e. sodium sulfate

In: Chemistry