Answer:
Using the above algorithm matches one pair of Ghostbuster and Ghost. On each side of the line formed by the pairing, the number of Ghostbusters and Ghosts are the same, so use the algorithm recursively on each side of the line to find pairings. The worst case is when, after each iteration, one side of the line contains no Ghostbusters or Ghosts. Then, we need n/2 total iterations to find pairings, giving us an P(
)- time algorithm.
Explanation:
a) The total volume equals the sum of the volumes.
500 = x + y
The total octane amount equals the sum of the octane amounts.
89(500) = 87x + 92y
44500 = 87x + 92y
b) desmos.com/calculator/ekegkzllqx
As x increases, y decreases.
c) Use substitution or elimination to solve the system of equations.
44500 = 87x + 92(500−x)
44500 = 87x + 46000 − 92x
5x = 1500
x = 300
y = 200
The required volumes are 300 gallons of 87 gasoline and 200 gallons of 92 gasoline.
Answer:
(a) 0.12924
(b) Taking into consideration significance level of 0.05 yet the value of p is greater than 0.05, it suggests that the coin is fair hence the coin can be used at the beginning of any sport event.
Explanation:
(a)
n=200 for fair coin getting head, p= 0.5
Expectation = np =200*0.5=100
Variance = np(1 - p) = 100(1-0.5)=100*0.5=50
Standard deviation,
Z value for 108,
P( x ≥108) = P( z >1.13)= 0.12924
(b)
Taking into consideration significance level of 0.05 yet the value of p is greater than 0.05, it suggests that the coin is fair hence the coin can be used at the beginning of any sport event.