Question
Test case 1; Enter percentage of defective units produced -> 1.75 Enter number of units to sample -> 100 Enter number of defective units in
Test case 1;
Enter percentage of defective units produced -> 1.75
Enter number of units to sample -> 100
Enter number of defective units in sample -> 5
Average number of defective units: 1.75%
Selecting 100 units with 0 being defective has a probability of: 0.167
Selecting 100 units with 5 being defective has a probability of: 0.023
Test case 2;
Enter percentage of defective units produced -> 18
Enter number of units to sample -> 10
Enter number of defective units in sample -> 4
Average number of defective units: 18.00%
Selecting 10 units with 0 being defective has a probability of: 0.134
Selecting 10 units with 4 being defective has a probability of: 0.067
I'm doing a coding homework which involves knowledge in statistics.
formula: x!=(x^x e^x )(2 x+ 1/3 ) has to be used for last two calculations which I don't know how to get those 2 values. (zero defective and n defective out of given units)
Can you help me to figureout how to come up with exactly matching values?
(confused part highlighted)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started