A manufacturer of metal pistons finds that on average, 12% of his pistons are rejected because they are either oversized or undersized. What is the probability that a batch of 10 pistons will contain
(a) no more than 2 rejects?
(b) at least 2 rejects?
Submission Modes and Output Format
You may submit either an R or Python program to accomplish the above task, or solve the problem on pen-and-paper. Your output should be two floating point/decimal numbers separated by a line, correct to 3 places of decimal.
In the text box below, enter two floating point/decimal numbers, correct to 3 places of decimal.
Alternatively, you may submit an R program, which uses the above parameters (hard-coded) and computes the answer.
Your answer should resemble something like:
0.123 0.456
(This is NOT the answer, just a demonstration of what the answering format should resemble).