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: g(x)= 31x-21-2
Step-by-step explanation:
21-2=19
31x=19
divide that by 31
the answer would be 1.63
9514 1404 393
Answer:
A. 5
Step-by-step explanation:
The base AB is twice the length of the midsegment CD.
8n +10 = 2(5n)
8n +10 = 10n . . . . . eliminate parentheses
10 = 2n . . . . . . . . . subtract 8n
n = 5 . . . . . . . . . . . divide by 2
Answer:
okay so it would be 2 or 1.5 i dont know if you want it whole number but i will explain
if the number is 5 or more like 5.1 or even 5 you round up
if the number is under 5 like 4,3,2,1 your round down
Step-by-step explanation:
Answer:
C = 6
Step-by-step explanation:
Move all terms that don't contain C to the right side and solve.