The required distance covered is 90 units
<h3>Distance formula</h3>
The formula for calculating the distance between two points is expressed as shown:
The required coordinates missing are (0, 42.78) and (90.42.78). Substiute the coordinate into the formula:


Hence the required distance covered is 90 units
Learn more on distance formula here: brainly.com/question/1872885
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
A because it can’t be 100 and it can’t be 625 and it can’t be 50 so it has to be A
The median for city A is 4 because the bracket is 2, 3.5, 4, 4, 5, 5.5. The middle numbers are 4 which add to eight and divide by two to make 4. The median for city B is 5. 25 because the bracket is 3.5, 4, 5, 5.5, 6, and 6. The middle numbers are 5 and 5.5 which add to 10.5 and divide by two to make 5.25.