In: Chemistry
Transport plays an essential role in supply chain and when managed properly can allow supply chains to work more efficiently and effectively. Dertemine the modal split for freight in South Africa. Provide reasons for your choice of the mode with the highest split.
In: Operations Management
A ship is carrying 30 travelers from various great houses on a long sea voyage from Braavos to King’s Landing where they will participate in the Game of Thrones:
You are now asked to evaluate probabilities relating to this voyage.
The following 9 competitors end up leaving the ship and
participating in the Game of Thrones:
3 from TAR, 2 from LAN, 2 from STA, 1 from GRE' and 1 from MAR.
At the end of the Game of Thrones,only 3 of the 9 competitors will win titles:
Nobody can win more than one title.
In: Statistics and Probability
SQL ONLY. WRITE CLEAR AND CORRECT ANSWERS.
Consider the following relations (PRIMARY KEYS ARE WRITTEN IN
BOLD)
departments (dept_no, dept_name)
dept_emp (emp_no, dept_no,
from_date, to_date)
dept_manager (dept_no, emp_no,
from_date, to_date)
employees (emp_no, birth_date, first_name,
last_name, gender, hire_date)
salaries (emp_no, salary, from_date,
to_date)
titles(emp_no, title, from_date, to_date)
Write the following queries in SQL. No duplicates should be printed in any of the answers.
List all the titles for which there is at least one employee having the title.
Find the current employee(s) (only id) who has/have the most (highest) experience working in a department [across all departments]. Here, we are referring to working only in one department. For example, let's assume there are only two employees: A and B. Now, A has been working in department X for 15 years and B worked in department X for 10 years and is working in department Y for 8 years. Although B has worked for a total of 18 years, he worked for 10 years in one department. So, for this query the output should be the id of A because A has worked for 15
years in one department which is the highest.
Find the names (both first and last) and current salary of all employees who were hired after 31st
December 1998.
(Hint: The to_date for current salary is '9999-01-01')
Find the id and name (both first and last) of all employees who are currently not in the
'Development' department and whose first name start with 'Tom'.
Find the names (both first and last) and current salaries of all employees who earn more than the
current average salary of all employees. List them in the descending order based on their salary
(highest salary first).
Some employees have worked in multiple departments. Find the names (both first and last) and
the number of departments of all the female employees who have worked in more than one
department.
Write SQL query to find out the name and current average salary of the department that has the
maximum current average salary?
Find the employee id of the current managers who currently manages more than 16000
employees.
Find the name and current average salary of the departments whose current average salary is
more than the current average salary of 'Development' department.
Find the name of the employees who currently have the same salary but currently works in
different department.
SQL ONLY. WRITE CLEAR AND CORRECT ANSWERS.
In: Computer Science
SQL ONLY. WRITE CLEAR AND SIMPLE ANSWERS.
Consider the following relations (PRIMARY KEYS ARE WRITTEN IN BOLD) departments (dept_no, dept_name) dept_emp (emp_no, dept_no, from_date, to_date) dept_manager (dept_no, emp_no, from_date, to_date) employees (emp_no, birth_date, first_name, last_name, gender, hire_date) salaries (emp_no, salary, from_date, to_date) titles(emp_no, title, from_date, to_date) Write the following queries in SQL. No duplicates should be printed in any of the answers. List all the titles for which there is at least one employee having the title. Find the current employee(s) (only id) who has/have the most (highest) experience working in a department [across all departments]. Here, we are referring to working only in one department. For example, let's assume there are only two employees: A and B. Now, A has been working in department X for 15 years and B worked in department X for 10 years and is working in department Y for 8 years. Although B has worked for a total of 18 years, he worked for 10 years in one department. So, for this query the output should be the id of A because A has worked for 15 years in one department which is the highest. Find the names (both first and last) and current salary of all employees who were hired after 31st December 1998. (Hint: The to_date for current salary is '9999-01-01') Find the id and name (both first and last) of all employees who are currently not in the 'Development' department and whose first name start with 'Tom'. Find the names (both first and last) and current salaries of all employees who earn more than the current average salary of all employees. List them in the descending order based on their salary (highest salary first). Some employees have worked in multiple departments. Find the names (both first and last) and the number of departments of all the female employees who have worked in more than one department. Write SQL query to find out the name and current average salary of the department that has the maximum current average salary? Find the employee id of the current managers who currently manages more than 16000 employees. Find the name and current average salary of the departments whose current average salary is more than the current average salary of 'Development' department. Find the name of the employees who currently have the same salary but currently works in different department.
SQL ONLY. WRITE CLEAR AND SIMPLE ANSWERS. READ THE QUESTIONS CAREFULLY. IF AN ANSWER IS WRONG, I WILL DOWNVOTE.
In: Computer Science
The new Fore and Aft Marina is to be located on the Ohio River near Madison, Indiana. Assume that Fore and Aft decides to build a docking facility where one boat at a time can stop for gas and servicing. Assume that arrivals follow a Poisson probability distribution, with an arrival rate of 8 boats per hour, and that service times follow an exponential probability distribution, with a service rate of 10 boats per hour. The manager of the Fore and Aft Marina wants to investigate the possibility of enlarging the docking facility so that two boats can stop for gas and servicing simultaneously.
A. What is the probability that the boat dock will be idle? Round your answer to four decimal places.
P0=
B. What is the average number of boats that will be waiting for service? Round your answer to four decimal places.
Lq=
C. What is the average time a boat will spend waiting for service? Round your answer to four decimal places.
Wq=
D. What is the average time a boat will spend at the dock? Round your answer to four decimal places.
W=
E. If you were the manager of Fore and Aft Marina, would you be satisfied with the service level your system will be providing? Round your answers to whole numbers.
Because the average wait time is ____ seconds. Each channel is idle ____ % of the time.
In: Statistics and Probability
*Don’t just give answers here, use complete sentences. Graphs would be a nice addition here (StatCrunch screen grabs or Excel graphs).
In: Statistics and Probability
In a certain presidential election, Alaska's 40 election districts
averaged 1,951.8 votes per district for a candidate. The standard
deviation was 572.3. (There are only 40 election districts in
Alaska.) The distribution of the votes per district for one
candidate was bell-shaped. Let X = number of votes for
this candidate for an election district.
1. State the approximate distribution of X. (Enter your numerical values to one decimal place.)
2. Is 1,951.8 a population mean or a sample mean? How do you know? (1) A population mean, because all election districts are included. (2) A population mean, because only a sample of election districts are included. (3) A sample mean, because only a sample of election districts are included. (4) A sample mean, because all election districts are included.
3. Find the probability that a randomly selected district had fewer than 1,600 votes for this candidate. (Round your answer to four decimal places.)
4. Write the probability statement.
5. Find the probability that a randomly selected district had between 1,800 and 2,000 votes for this candidate. (Round your answer to four decimal places.)
6. Find the third quartile for votes for this candidate. (Round your answer up to the next vote.)
In: Statistics and Probability
Problem 11-15
Risky Cash Flows
The Bartram-Pulley Company (BPC) must decide between two mutually exclusive investment projects. Each project costs $7,000 and has an expected life of 3 years. Annual net cash flows from each project begin 1 year after the initial investment is made and have the following probability distributions:
| PROJECT A | PROJECT B | ||
| Probability | Net Cash Flows |
Probability | Net Cash Flows |
| 0.2 | $6,000 | 0.2 | $ 0 |
| 0.6 | 6,750 | 0.6 | 6,750 |
| 0.2 | 7,000 | 0.2 | 16,000 |
BPC has decided to evaluate the riskier project at a 13% rate and the less risky project at a 8% rate.
| Project A | Project B | |
| Net cash flow | $ | $ |
| σ (to the nearest whole number) | CV (to 2 decimal places) | |
| Project A | $ | |
| Project B | $ |
| Project A | $ | |
| Project B | $ |
In: Finance
A retailer discovers that 3 jars from his last shipment of Spiffy peanut butter contained between 15.85 and 15.92 oz of peanut butter, despite the labeling indicating that each jar should contain 16 oz. of peanut butter. He is wondering if Spiffy is cheating its customers by filling its jars with less product than advertised. He decides to measure the weight of 50 jars from the shipment and use hypothesis testing to verify this.
(f) In his sample of 50 jars, the retailer finds an average weight of 15.84 oz and a sample standard deviation of 0.5 oz. He decides to use a significance level of 0.04. What is the conclusion from this hypothesis testing? Can you conclude that Spiffy is cheating its customers?
(g) What is the p-value? What is the meaning of this number?
(h) For what values of the sample mean would the null hypothesis be rejected?
(i) Calculate the probability of type II error if the true mean is 15.7 oz.
(j) Solve (f), (h) and (i) when the level of significance is 0.01. Is your new answer for (f) consistent with the p-value found in (g)? How is the probability of type II error affected when the probability of type I error changes?
In: Statistics and Probability