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
The answer is b) y = 3x + 3.
To find this, we first need to find the slope. The slope formula is listed below.
m = (y2 - y1)/(x2 - x1)
In this equation, m is the slope, and (x1, y1) is the first point, where (x2, y2) is the second point. We'll use (2, 9) and (3, 12) for the points.
m = (y2 - y1)/(x2 - x1)
m = (12 - 9)/(3 - 2)
m = 3/1
m = 3
Now that we have the slope at 3. we can use slope intercept form and one point to solve for the y-intercept. We'll use (2, 9) as the point.
y = mx + b
9 = 3(2) + b
9 = 6 + b
3 = b
When we use the slope and intercept together to get the equation. y = 3x + 3
That's unusual: repetition: -1/2 - 1/2.
Did you perhaps mean "Factor -1/2 out of (-1/2)x + 6?
Let's do that. Let's rewrite 6 as (-1/2)(-12).
Then (-1/2)x + 6 (-1/2)x -(1/2)(-12)
-------------- = ------------------------ = x - 1/2
-1/2 -1/2
Hope that's what you wanted. If not, please try to apply a similar approach to solving this particular problem.
Not sure bout this on look it up on google
Answer:
x
=
6
,
1
Step-by-step explanation: