The wording of the question is a little strange. The percentage of dog owners is already estimated at 52%, so no simulation seems useful for that. However, if you want to simulate dog ownership within any given household, you want to apply some algorithm to the given numbers so that about 52% of the time you will see the equivalent of "owns at least one dog."
We assume the numbers are uniformly distributed on 00000 .. 99999. You could, for example, take 4 of the 5-digit numbers (20 digits total), divide them into pairs of digits, and declare "owns at least one dog" if the pair of digits is 51 or less.
For example, the first set of 4 numbers so divided will be ...
95 91 15 52 41 74 05 34 10 02
and "owns at least one dog" would then be ...
no no yes no yes no yes yes yes yes . . . 6 of the 10 simulated households
_____
This sort of approach can work well if you're simulating something described by a percentage. If there is some other ratio involved, say 3 out of 248, then you could throw out any number that is 99944 or higher (403*248) and look at the remainder when dividing by 248. If it is 2 or less, your condition is satisfied.
Making use of random number tables is a bit of an art. The idea is to choose the algorithm for processing the numbers so that the desired distribution is obtained. If the desired distribution is non-uniform, then there are ways to apply functions to the numbers or simply put them in bins of different width so that you get the desired simulated result.
Answer: "10" .
______________________
1/2 = x/20
(1*10) = (2*10) = 10/20 .
Note: 2*10 = 20.
1/2 = 10/20 .
10/20 = ? ; Cancel out the zeros to get: "1/2" ; "10/20 = 1/2" .
Remember, to be a function, all elements in the domain should correspond to one element in the range.
The domain is the x coordinate, range is the y coordinate.
The domain we can solve for as the set {4.2, 5, 7}. The range is the set {0, 1.5, 2.2, 4.8}.
But we see that an element in the domain corresponds to more than one element in the range, thus making it not a function.
Your answer is n=2. thank me if this helped you. :)
The Lowest Common Multiple Of 3 and 7 is 21
This means the ratio of mints:sherberts:toffees can be written as 14:21:15
The fraction of sweets that are sherberts is therefore 21/(14+21+15) = 21/50