7-9. Give two (2) piping materials with their corresponding schedule # and its application that is available in market today?
10. Give one (1) standard used for piping materials and state one (1) provision regarding that standard?
In: Mechanical Engineering
At a university, students are assigned a system user name, which is used to log into the campus computer network system. As part of your internship with the university's IT department, your assignment is to write the code that generates system user names for students.
You will use the following logic to generate a user name:
Get the first three characters of the student's first name. (If the first name is less than three characters use the entire first name.)
Get the first three characters of the student's last name. (If the last name is less than three characters use the entire last name)
Get the last three characters of the student's ID number. (If the ID number is less than three characters, use the entire ID number.)
Concatenate the three sets of characters to generate the user name.
For example, if a student’s name is Yogi Bear, and his ID number is T0017258, his login name would be YogBear721.
In main, obtain the student’s first name, last name and ID number, then call a function named get_login_name that accepts the student's first name, last name, and ID number as arguments and returns the student's login name as a string.
Next, in main, ask the student to generate a password then call a function to verify that it is correct. Passwords must adhere to the following rules:
A valid password must be at least seven characters in length,
Must have at least one uppercase letter, one lowercase letter, and one digit.
python programme
In: Computer Science
An article describes several studies of the failure rate of defibrillators used in the treatment of heart problems. In one study conducted by the Mayo Clinic, it was reported that failures were experienced within the first 2 years by 17 of 89 patients under 50 years old and 16 of 359 patients age 50 and older who received a particular type of defibrillator. Assume it is reasonable to regard these two samples as representative of patients in the two age groups who receive this type of defibrillator.
(a) Construct a 95% confidence interval for the proportion of
patients under 50 years old who experience a failure within the
first 2 years after receiving this type of defibrillator. (Round
your answers to three decimal places.)
( , )
Interpret the interval.
We are confident that the proportion of all patients under 50 years old who experience a failure within the first two years after receiving this type of defibrillator is within this interval at least 95% of the time.We are 95% confident that the proportion of all patients under 50 years old who experience a failure within the first two years after receiving this type of defibrillator is within this interval. We are 95% confident that the proportion of all patients who experience a failure after receiving this type of defibrillator is within this interval.We are confident that 95% of all patients under 50 years old who experience a failure within the first two years after receiving this type of defibrillator are within this interval.
(b) Construct a 99% confidence interval for the proportion of
patients age 50 and older who experience a failure within the first
2 years after receiving this type of defibrillator. (Round your
answers to three decimal places.)
( , )
Interpret the interval.
We are confident that 99% of all patients age 50 or older who experience a failure within the first two years after receiving this type of defibrillator is within this interval.We are confident that the proportion of all patients age 50 or older who experience a failure within the first two years after receiving this type of defibrillator is within this interval at least 99% of the time. We are 99% confident that the proportion of all patients age 50 or older who experience a failure within the first two years after receiving this type of defibrillator is within this interval.We are 99% confident that the proportion of all patients who experience a failure after receiving this type of defibrillator is within this interval.
(c) Suppose that the researchers wanted to estimate the proportion
of patients under 50 years old who experience a failure within the
first 2 years after receiving this type of defibrillator to within
0.03 with 95% confidence. How large a sample should be used? Use
the results of the study as a preliminary estimate of the
population proportion. (Enter your answer as a whole number.)
patients
In: Statistics and Probability
A survey was conducted to determine whether hours of sleep per night are independent of age. A sample of individuals was asked to indicate the number of hours of sleep per night with categorical options: fewer than 6 hours, 6 to 6.9 hours, 7 to 7.9 hours, and 8 hours or more. Later in the survey, the individuals were asked to indicate their age with categorical options: age 39 or younger and age 40 or older. Sample data follow.
| Hours of Sleep | Age Group | |
|---|---|---|
| 39 or younger | 40 or older | |
| Fewer than 6 | 37 | 35 |
| 6 to 6.9 | 61 | 58 |
| 7 to 7.9 | 77 | 75 |
| 8 or more | 65 | 92 |
(a)
Conduct a test of independence to determine whether hours of sleep are independent of age.
(b)
What is your estimate of the percentages of individuals who sleep fewer than 6 hours, 6 to 6.9 hours, 7 to 7.9 hours, and 8 hours or more per night?
In: Statistics and Probability
Kirtland Corporation uses a periodic inventory system. At the end of the annual accounting period, December 31, the accounting records for the most popular item in inventory showed the following:
| Transactions | Units | Unit Cost | |
| Beginning inventory, January 1 | 370 | $4.00 | |
| Transactions during the year: | |||
| a. | Purchase, January 30 | 270 | 3.10 |
| b. | Purchase, May 1 | 430 | 5.00 |
| c. | Sale ($6 each) | (130) | |
| d. | Sale ($6 each) | (670) | |
Required:
b. & c. Compute the amount of ending inventory and cost of goods sold at December 31, under Average cost, First-in, first-out, Last-in, first-out and Specific identification inventory costing methods. For Specific identification, assume that the first sale was selected two-fifths from the beginning inventory and three-fifths from the purchase of January 30. Assume that the second sale was selected from the remainder of the beginning inventory, with the balance from the purchase of May 1.
In: Accounting
You are hired by a local company to determine if people feel more confident in the provincial or federal government. You ask several people who live in St Catharines how confident they are that the provincial government is doing a good job (out of 50, higher numbers are better). You then ask them about their confidence in the federal government and get the following data. What would you conclude?
|
Provincial |
Federal |
D |
D2 |
|
|
26 |
38 |
-12 |
144 |
|
|
25 |
29 |
-4 |
16 |
|
|
25 |
33 |
-8 |
64 |
|
|
28 |
24 |
4 |
16 |
|
|
24 |
31 |
-7 |
49 |
|
|
21 |
30 |
-9 |
81 |
|
|
19 |
19 |
0 |
0 |
|
|
38 |
46 |
-8 |
64 |
|
|
29 |
40 |
-11 |
121 |
|
|
41 |
31 |
10 |
100 |
|
|
21 |
29 |
-8 |
64 |
|
|
28 |
37 |
-9 |
81 |
|
|
36 |
39 |
-3 |
9 |
|
|
Sum |
361 |
426 |
-65 |
809 |
|
SS |
550.3077 |
620.3077 |
484 |
23436.31 |
In: Statistics and Probability
You are responsible for developing a supervisory training programme for a company. The following table shows the relationships between the activities that must be completed, along with estimates of the durations in days.
Table 1: Activity Times and Predecessors
| Activity | Immediate Predecessors | Optimistic Time (a) | Most Likely time (m) | Pessimistic Time (b) |
| A | - | 3 | 7 | 13 |
| B | - | 5 | 10 | 17 |
| C | A,B | 3 | 5 | 8 |
| D | C | 5 | 12 | 14 |
| E | C | 2 | 5 | 9 |
| F | E | 2 | 5 | 15 |
| G | E,F | 5 | 8 | 12 |
| H | D | 6 | 10 | 12 |
| I | E,H | 3 | 4 | 8 |
| J | G, I | 4 | 7 | 10 |
Required
(a) Draw the activity network for this problem (either AON or
AOA)
(b) Determine the Expected Time and Variance for each activity
(show in a table).
Round off times to two decimal places where fractional.
(c) Show the activity schedule (ES, EF, LS, LF) as well as slack
(in table).
(d) Determine and state the critical path for this project. This
must be based on
your work in c) and not by inspection.
(e) What are the expected time and the variance of the
project?
(f) What is the probability the project will be finished within 49
days?
(g) What time should be set such that there is a 99% chance of
completion?
(h) What is the probability the project will take between 45 and 50
days?
In: Advanced Math
Hypoglycemia is a condition in which blood sugar is below normal limits. To compare the effectiveness of two compounds, new and old, for treating hypoglycemia, each compound is applied to half the diaphragms of each of seven mice. Blood glucose uptake in milligrams per gram of tissue is measured for each half producing the results listed below. Do the data provide sufficient evidence to indicate that the new compound tends to produce at least 2 more milligrams blood sugar uptake than the old compound? Blood sugar uptake is known to follows a symmetric distribution.
Mouse: 1 2 3 4 5 6 7
New compound: 5.25 3.16 4.43 6.12 5.75 2.21 7
Old compound: 7.83 6.22 7.46 8.83 8.19 5.64 8.88
(a) Justify your choice of method in (b) below.
(b) Set up an appropriate hypothesis and perform the proper test ( a = 0.05)
In: Statistics and Probability
Five years ago a XYZ stock paid a $1.15 dividend. Since then it has split two for one once and three for two twice. XYZ current earnings per share are $1.15, and the plowback ratio is 50%. The dividends are expected to grow with their historical rate for the next three years. Beginning year four, XYZ return on equity is expected to be 9%. If the firm’s appropriate discount rate is 13.5% what the stock price should be?
In: Finance
Five years ago a XYZ stock paid a $1.15 dividend. Since then it has split two for one once and three for two twice. XYZ current earnings per share are $1.15, and the plowback ratio is 50%. The dividends are expected to grow with their historical rate for the next three years. Beginning year four, XYZ return on equity is expected to be 9%. If the firm’s appropriate discount rate is 13.5% what the stock price should be?
In: Finance