The randomly selected delivery time in minutes of 2 restaurants are as followed.Which restaurant has more consistent delivery times

Restaurant A:

20, 25, 22, 19, 21

Restaurant B:
15, 35, 10, 40, 5

To determine which restaurant has more consistent delivery times, we can calculate the variance of each set of delivery times.

For Restaurant A:
Mean = (20 + 25 + 22 + 19 + 21) / 5 = 21.4
Variance = [(20 - 21.4)^2 + (25 - 21.4)^2 + (22 - 21.4)^2 + (19 - 21.4)^2 + (21 - 21.4)^2] / 5
= [1.6^2 + 3.6^2 + 0.6^2 + 2.4^2 + 0.4^2] / 5
= (2.56 + 12.96 + 0.36 + 5.76 + 0.16) / 5
= 21.8 / 5
= 4.36

For Restaurant B:
Mean = (15 + 35 + 10 + 40 + 5) / 5 = 21
Variance = [(15 - 21)^2 + (35 - 21)^2 + (10 - 21)^2 + (40 - 21)^2 + (5 - 21)^2] / 5
= [36^2 + 14^2 + 11^2 + 19^2 + 16^2] / 5
= (1296 + 196 + 121 + 361 + 256) / 5
= 2230 / 5
= 446

Comparing the variances, we see that Restaurant A has a lower variance (4.36) compared to Restaurant B (446). This means that Restaurant A has more consistent delivery times.