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
Krista will have more money in 2 years time than Nick and she will get $14.05 more than Nick. Hope this helps.
Amount charged for downloading individual songs = x dollars
Amount charged for downloading an entire album = y dollars
In respect to person A:
6x + 2y = 25.92
3x + y = 12.96
y = 12.96 - 3x
In respect to person B:
4x + 3y = 33.93
Putting the value of y from the first equation in the second, we get
4x + 3(12.96 - 3x) = 33.93
4x + 38.88 - 9x = 33.93
- 5x = - 4.95
x = 0.99 dollars
Putting the value of x in the first equation, we get
y = 12.96 - 3x
= 12.96 - 2.97
= 9.99 dollars
Answer:
$102
Step-by-step explanation:
if Tommy spent 7 dollars on pie, that means he had more money than that amount before.
So before he spent 7 dollars, he had those 7 dollars.
Add 7 with 95
95 + 7 = 102