Answer:
The correct Answer is 0.0571
Explanation:
53% of U.S. households have a PCs.
So, P(Having personal computer) = p = 0.53
Sample size(n) = 250
np(1-p) = 250 * 0.53 * (1 - 0.53) = 62.275 > 10
So, we can just estimate binomial distribution to normal distribution
Mean of proportion(p) = 0.53
Standard error of proportion(SE) =
=
= 0.0316
For x = 120, sample proportion(p) =
=
= 0.48
So, likelihood that fewer than 120 have a PC
= P(x < 120)
= P( p^ < 0.48 )
= P(z <
) (z=
)
= P(z < -1.58)
= 0.0571 ( From normal table )
Answer:
bill = float(input("Enter the bill amount: "))
rating = int(input("Choose a rating: 1 = Totally satisfied, 2 = Satisfied, 3 = Dissatisfied.: "))
if rating is 1:
tip = bill * 0.2
elif rating is 2:
tip = bill * 0.15
elif rating is 3:
tip = bill * 0.1
print("The rating is: " + str(rating))
print("The tip is: $%.2f" % (tip))
Explanation:
*The code is in Python
- Ask the user for the <em>bill</em> and <em>rating</em>
- Depending on the <em>rating</em>, calculate the <em>tip</em> using <u>if else</u> statement i.e. If the rating is chosen as 1, calculate the tip by taking 20 percent of the bill.
- Print the <em>rating</em> and the <em>tip</em>
Answer:Start with the algorithm you are using, and phrase it using words that are easily transcribed into computer instructions.
Indent when you are enclosing instructions within a loop or a conditional clause Avoid words associated with a certain kind of computer language.
Explanation:
Answer:2. electrical equipment shall be considered readily accessible to those to whom ready access is requisite when it is capable of being reached quickly for operation by using a portable ladder.
Explanation: