Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: machine x produces 50 % of the total output and machine - y produces 75 % of the total output . an average of 9 units out of a 1000 goods manufactured by machine - x and two unit of 500 units produced by machine - x prove to be defective . what is the probability that a unit chosen at random from the total daily output of the factory is defective ?
Output:
0.006