Company XYZ launches a new software which is tested using 4 independent tests. If there is an error, it will be discovered with probabilities 0.4, 0.1, 0.3 and 0.2 respectively. Suppose that the software does contain an error. What is the probability that it will be found
(b) All four tests?
In: Statistics and Probability
Two events ?1 and ?2 are defined on the same probability space such that: ?(?1 ) = 0.7 , ?(?2 ) = 0.5 , and ?(?1 ??? ?2 ) = 0.3. a) Find ?(?1 ?? ?2 ). b) Find ?(?1 | ?2 ). c) Are ?1 and ?2 mutually exclusive (disjoint)? and why? d) Are ?1 and ?2 independent? and why?
In: Statistics and Probability
A 12-inch well penetrating a 100-ft thick eenfinedr aquifer is pumped at a rate of 100 gpm for 10 years. Determine the drawdown of 100-ft from the well. The storage coefficient of the aquifer is 0.001, permeability 500 gpd/ft, r/B = 0.2, and porosity= 0.3?
In: Civil Engineering
A capacitor is connected to a battery and placed in a magnetic field (-z direction) to form a velocity selector. A charge moving at 3,479.6 m/s is not deflected by the velocity selector. If the voltage of the battery is 7 volts and the distance between the sheets is 0.3 meters, what is the amount of the magnetic field in milli-Tesla?
In: Physics
|
Waymouth Manufacturing operates a contract manufacturing plant located in Dublin, Ireland. The plant provides a variety of electronics products and components to consumer goods manufacturers around the world. Cycle time is a critical success factor for Waymouth, which has developed a number of measures of manufacturing speed. Waymouth has studied the matter and found that competitive contract manufacturers have manufacturing cycle times (MCE) of about 31%. When last calculated, Waymouth’s MCE was 28%. |
|
Key measures from the recent month’s production, averaged over all the jobs during that period, are as follows: |
| Activity |
Average Time (hours) |
||
| New product development | 16.0 | ||
| Materials handling | 2.0 | ||
| Order setup | 2.5 | ||
| Machine maintenance | 1.0 | ||
| Order scheduling | 20.0 | ||
| Inspection of completed order | 0.5 | ||
| Pack and move to storage or ship | 0.5 | ||
| Manufacturing assembly | 3.0 | ||
| Order taking and checking | 1.0 | ` | |
| Receiving and stocking raw materials | 1.5 | ||
| Inspection of raw materials | 1.0 | ||
| Required: |
|
Determine the manufacturing cycle efficiency (MCE) for the recent month. (Round your answer to 1 decimal place (i.e. .123 = 12.3%).) |
In: Operations Management
Language: C++
In your main(), use printf() to print out the floating point values for
some hex data.
a. To print 1.0, do
printf("One: %f\n",0x3FF0000000000000);
The compiler will give you a warning about the argument being a different
type than the format, but that is ok.
b. To print 2.0, do
printf("Two: %f\n",0x4000000000000000);
Remember, to multiply by two, you just add one to the exponent.
c. Print 4.0, 8.0, and 16.0 (with nice labels, of course).
d. We can also go the other way. To divide by two, just decreas the
exponent by one. So for 1/2, do
printf("Half: %f\n",0x3FE0000000000000);
e. Print 1/4, 1/8, 1/16.
f. Negative values have a 1 in the leading bit instead of 0. A leading 1
in the bits for a hex digit has value 8, so -1.0 is BFF0000000000000.
So to print -1.0, do
printf("Neg One: %f\n",0xBFF0000000000000);
g. Print -2, -4, -8, -1/2, -1/4, -1/8 (with nice labels, of course).In: Computer Science
a.
We have these hypotheses:
H0: the amount of active ingredient in a pharmaceutical pill is 5 mg
H1: the amount is below 5 mg
We can take a random sample of 40 such pills and find the amount of active ingredient in them, and let the sample average be x-bar. We also know that the standard deviation of the amount of active ingredient is 0.3 mg.
If H0 is right, what is the (approximate) distribution of ?
|
Normal with mean zero, standard deviation 1 |
||
|
Normal with mean 5, standard deviation (0.3 / square root of 40) |
||
|
Normal with mean 5, standard deviation 0.3 |
||
|
binomial with n = 40, p = 0.3 |
b.
A supermarket claims that the average wait time at the checkout counter is less than 9 minutes. Assume that we know that the standard deviation of wait times is 2.5 minutes.
Consider
H0: mu >= 9
H1: mu < 9
A random sample of 50 customers yielded an average wait time of 8.5 minutes.
What is the p-value for this data?
(Provide four decimal places)-----------------
c.
A supermarket claims that the average wait time at the checkout counter is less than 8 minutes. Assume that we know that the standard deviation of wait times is 2.5 minutes. We will test at a significance level of 10%.
Consider
H0: mu >= 8
H1: mu < 8
A random sample of 50 customers yielded an average wait time of 7.8 minutes.
What is the critical value for the Zstat (the Z-test statistic)?
(Provide two decimal places)
d.
A manager is looking at the number of sick days used by employees in a year.
H0: the average number is 8 or below
H1: the average is over 8
We know that the standard deviation of the number of sick days used by employees is 2, and we want to test at 10% significance level.
Say we took a random sample of 50 employees, and checked their records, and found that the average was 8.1
The manager figures that the critical value (z-sub-0.1) is 1.28.
What should be the decision?
|
We have insufficient information to make a decision |
||
|
Reject H0 |
||
|
Employees are abusing their sick days |
||
|
Keep H0 |
In: Statistics and Probability
How can I make this program able to implement listener for the editable text field:
/////////////////////////////// KiloConverter.java //////////////////////////
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
public class KiloConverter extends JFrame {
// constant for converting km to miles
static final double KM_TO_MILES = 0.6214;
// important components that needs to be accessed throughout the program
private JTextField input, output;
// constructor initializing GUI
public KiloConverter() {
// passing title to super class
super("Kilometer Converter");
// will exit on click
setDefaultCloseOperation(EXIT_ON_CLOSE);
// creating a panel
JPanel panel1 = new JPanel();
// creating components for first row, adding to the above panel
JLabel label1 = new JLabel("Enter a distance in kilometers");
input = new JTextField(15);
JButton calc = new JButton("Calculate");
panel1.add(label1);
panel1.add(input);
panel1.add(calc);
// creating another panel
JPanel panel2 = new JPanel();
// creating components for second row, adding to the above panel
output = new JTextField(15);
output.setEditable(false); // not editable
output.setBackground(Color.LIGHT_GRAY);
JLabel label2 = new JLabel("Miles");
JButton exit = new JButton("Exit");
panel2.add(output);
panel2.add(label2);
panel2.add(exit);
// adding first panel to the north of window, second to the south
add(panel1, BorderLayout.NORTH);
add(panel2, BorderLayout.SOUTH);
// adding action listeners to the buttons
calc.addActionListener(new CalculateButtonListener());
exit.addActionListener(new ExitButtonListener());
// using compact size
pack();
}
// private inner class representing action to be performed when calculate
// button is clicked
private class CalculateButtonListener implements ActionListener {
@Override
public void actionPerformed(ActionEvent e) {
// getting input, parsing to double, converting to miles, displaying
// with 3 digits precision
double km = Double.parseDouble(input.getText());
double miles = km * KM_TO_MILES;
output.setText(String.format("%.3f", miles));
}
}
// private inner class representing action to be performed when exit
// button is clicked
private class ExitButtonListener implements ActionListener {
@Override
public void actionPerformed(ActionEvent e) {
//simply exiting
System.exit(0);
}
}
}
// /////////////////////// Driver.java /////////////////////////////////
//public driver program to run the KiloConverter class
public class Driver {
public static void main(String[] args) {
KiloConverter converter = new KiloConverter();
converter.setVisible(true);
}
}
In: Computer Science
Problem 17-48 Flexible Budget (LO 17-5)
Oak Hill Township operates a motor pool with 20 vehicles. The motor pool furnishes gasoline, oil, and other supplies for the cars and hires one mechanic who does routine maintenance and minor repairs. Major repairs are done at a nearby commercial garage. A supervisor manages the operations.
Each year, the supervisor prepares a master budget for the motor pool. Depreciation on the automobiles is recorded in the budget to determine the costs per mile.
The following schedule presents the master budget for the year and for the month of July.
| OAK HILL TOWNSHIP | |||||||||||||||||||
| Motor Pool | |||||||||||||||||||
| Budget Report for July | |||||||||||||||||||
| Annual Master | One-Month | Over- or | |||||||||||||||||
| Budget | Master Budget | July Actual | (Under-) Budget | ||||||||||||||||
| Gasoline | $ | 81,000 | $ | 6,750 | $ | 8,515 | $ | 1,765 | |||||||||||
| Oil, minor repairs, parts, and supplies | 7,200 | 600 | 761 | 161 | |||||||||||||||
| Outside repairs | 5,400 | 450 | 90 | (360 | ) | ||||||||||||||
| Insurance | 12,000 | 1,000 | 1,050 | 50 | |||||||||||||||
| Salaries and benefits | 63,600 | 5,300 | 5,300 | 0 | |||||||||||||||
| Depreciation | 52,800 | 4,400 | 4,620 | 220 | |||||||||||||||
| Total cost | $ | 222,000 | $ | 18,500 | $ | 20,336 | $ | 1,836 | |||||||||||
| Total miles | 900,000 | 75,000 | 94,500 | ||||||||||||||||
| Cost per mile | $ | 0.2467 | $ | 0.2467 | $ | 0.2152 | |||||||||||||
| Number of automobiles | 20 | 20 | 21 | ||||||||||||||||
The annual budget was based on the following assumptions:
Automobiles in the pool: 20.
Miles per year per automobile: 45,000.
Miles per gallon per automobile: 20.
Gas per gallon: $1.80.
Oil, minor repairs, parts, and supplies per mile: $0.008.
Outside repairs per automobile per year: $270.
The supervisor is unhappy with the monthly report, claiming that it unfairly presents his performance for July. His previous employer used flexible budgeting to compare actual costs to budgeted amounts.
Required:
a. What is the gasoline monthly flexible budget and the resulting amount over- or underbudget? (Use miles as the activity base.) (Do not round intermediate calculations. If the amounts are equal to budget, select "No change".)
|
b. What is the monthly flexible budget for the oil, minor repairs, parts, and supplies and the amount over- or underbudget? (Use miles as the activity base.) (Do not round intermediate calculations. If the amounts are equal to budget, select "No change".)
|
\
c. What is the monthly flexible budget for salaries and benefits and the resulting amount over- or underbudget? (Do not round intermediate calculations. If the amounts are equal to budget, select "No change".)
|
In: Accounting
A 1.0-cm-diameter pipe widens to 2.0 cm, then narrows to 0.5 cm. Liquid flows through the first segment at a speed of 4.0m/s.
A: What is the speed in the second segment?m/s
B: What is the speed in the third segment?m/s
C: What is the volume flow rate through the pipe?L/s
In: Physics