Answer:
That's a high score!
This is a test question!
Explanation:
The reason these two lines are printed and not the first one is simple. After the 'IF' condition has been stated, there is no use of parenthesis such as { and } to enclose the next lines. This means that only the first line after the 'IF' condition may be read or skipped depending on whether the condition (score>95) is met. Since the score is not larger than 95, and the 'IF' condition fails, the line 'Congratulations!' is not printed. The next two lines of the code are read as normal because they do not depend on the 'IF' condition.
Answer:
a) Sample size = 1691
b) 95% Confidence Interval = (0.3696, 0.4304)
Explanation:
(a) How large a sample n should they take to estimate p with 2% margin of error and 90% confidence?
The margin of error is given by

Where z is the corresponding z-score for 90% confidence level
z = 1.645 (from z-table)
for p = 0.50 and 2% margin of error, the required sample size would be

(b) The advocacy group took a random sample of 1000 consumers who recently purchased this mobile phone and found that 400 were happy with their purchase. Find a 95% confidence interval for p.
The sample proportion is
p = 400/1000
p = 0.40
z = 1.96 (from z-table)
n = 1000
The confidence interval is given by

Therefore, we are 95% confident that the proportion of consumers who bought the newest generation of mobile phone were happy with their purchase is within the range of (0.3696, 0.4304)
What is Confidence Interval?
The confidence interval represents an interval that we can guarantee that the target variable will be within this interval for a given confidence level.
Answer:
591.3
Explanation:
99.19 + (1.85 × 266) = 591.29
rounded = 591.3
Answer:
Explanation:
In the development of a torsion formula for a circular shaft, the following assumptions are made: Material of the shaft is homogeneous throughout the length of the shaft. Shaft is straight and of uniform circular cross section over its length. Torsion is constant along the length of the shaft.