Example 1. Out of 500 randomly taken parts, 8 were defective. Find the frequency of defective parts.
Solution. Since in this case $m=8, n=500$, then according to formula (1.4.1) we find

$$
W=\frac{8}{500}=0.016
$$