The answer to question number 1 is 16.
Answer:
Step-by-step explanation:
Base + 4 triangles
(18.4)(27.6) + 2(½×27.7×17.6) + 2(½×18.4×20.4)
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
2) C
3) B
4) C
6) I'm pretty sure its D but it could be C