There are

ways of selecting two of the six blocks at random. The probability that one of them contains an error is

So

has probability mass function

These are the only two cases since there is only one error known to exist in the code; any two blocks of code chosen at random must either contain the error or not.
The expected value of finding an error is then
Answer:
y = -1/4x - 2
Step-by-step explanation:
I'm going to write this equation in slope intercept form, which looks like this: y = mx + b. First, write the equation using the slope given. It should look like this:
y = -1/4x + b
Next, you must find the y intercept by plugging in the point to the equation. This is what it looks like: 0 = -1/4(-8) + b. Multiply -1/4 by -8 to get 2. This is what your equation should look like now: 0 = 2 + b. Subtract 2 from both sides of the equation to get -2 = b. Go back to your original equation and plug -2 in for b. This is your final equation:
y = -1/4x - 2
Hope this helped!
Answer: $603,213
Step-by-step explanation:
Multiply 80 by 5/8ths.
80*5/8=50