Answer:
1. false
2. false
3. true
4. true
5. true
6. false
Step-by-step explanation:
1. The value of the first expression when t = 3 is not equal to the value of the second expression when t = 3.
2. The value of the first expression when t = 7 is not equal to the value of the second expression when t = 7.
3. The value of both expressions when t = 3 is 30.
4. The value of both expressions when t = 7 is 54.
5. The expressions are equivalent.
6. The expressions are not equivalent.
6t + 12 = 6(t + 2)
6(3) + 12 =6((3) + 2)
18 + 12 = 6(5)
30 = 30
6(7) + 12 = 6((7) + 2)
42 + 12 = 6(9)
54 = 54
Answer:
The answer is below
Step-by-step explanation:
Let S denote syntax errors and L denote logic errors.
Given that P(S) = 36% = 0.36, P(L) = 47% = 0.47, P(S ∪ L) = 56% = 0.56
a) The probability a program contains both error types = P(S ∩ L)
The probability that the programs contains only syntax error = P(S ∩ L') = P(S ∪ L) - P(L) = 56% - 47% = 9%
The probability that the programs contains only logic error = P(S' ∩ L) = P(S ∪ L) - P(S) = 56% - 36% = 20%
P(S ∩ L) = P(S ∪ L) - [P(S ∩ L') + P(S' ∩ L)] =56% - (9% + 20%) = 56% - 29% = 27%
b) Probability a program contains neither error type= P(S ∪ L)' = 1 - P(S ∪ L) = 1 - 0.56 = 0.44
c) The probability a program has logic errors, but not syntax errors = P(S' ∩ L) = P(S ∪ L) - P(S) = 56% - 36% = 20%
d) The probability a program either has no syntax errors or has no logic errors = P(S ∪ L)' = 1 - P(S ∪ L) = 1 - 0.56 = 0.44
Answer:
yes
Step-by-step explanation:
Answer:
P(pumps) = 2/5
Step-by-step explanation:
(Pumps)/(Everything)
(10)/(9+6+10)
10/25
2/5