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
The first thing I would do is write an expression for the amount the limo will cost in terms of the number of miles you drive. In this scenario, the cost=.15(mile)+700.
Now is the question, should the limo cost more or less than $750 to stay on budget? The answer is you should spend less than $750. Thus, when writing the inequality, or .15m+700<750. However, you could spend exactly $750 so you inequality should really be .15m+700≤750. Now you just need to solve this for the number of miles you can drive.
First, subtract 700 from both sides and you are left with .15m≤50
Then divide both sides by .15 and you are left with m ≤ 333.33. Thus, the limo can only travel 333.33 miles.
please make this the brainliest answer
Given
jacinta buys 4 pounds of turkey and 2 pounds of ham & pays a total of $30, turkey costs $1.50 less per pound than the ham.
find out the combined cost of 1 pound of turkey and 1 pound of ham
To proof
As given in the question
jacinta buys 4 pounds of turkey and 2 pounds of ham
total pay by jacinta = $30
let us assume that the price of the ham = x
as given in the question
turkey costs $1.50 less per pound than the ham
turkey costs becomes = x - 1.50
then the equation becomes
30 = 4 (x - 1.50) + 2x
30 = 4x + 2x - 6
36 = 6x
x = 6
thus
ham cost per pound = $6
turkey cost per pound = 6 - 1.50
= $ 4.5
Now find out
cost of 1 pound of turkey + 1 pound of ham = $ 6 + $ 4.5
= $ 10.5
Hence proved