We can use the proportion of defective gadgets in the sample to estimate the number of defective gadgets in the entire production, and then subtract that from the total number of gadgets produced to estimate the number of non-defective gadgets.
The proportion of defective gadgets in the sample is:
7/100 = 0.07
We can assume that this proportion is representative of the entire production, so we can estimate the number of defective gadgets in the entire production as:
0.07 x 5000 = 350
Therefore, we can estimate the number of non-defective gadgets in the production as:
5000 - 350 = 4650
Therefore, we can predict that there are 4,650 gadgets in the day's production that are not defective.