Answer:
B. Generate 5 random integers from 1 to 10 and see how many times the numbers 1 to 8 are generated.
Step-by-step explanation:
William wants to simulate 5 shots with an 80% chance each shot. Let's see what is each option simulate
A.
This option is wrong. Since you generate 8 different possibilities(1-8), the chance for each is 1/8= 12.5%. The chance for either 3 and 5 is 25% and it's far from 80%
B.
This option is true. You generate 5 numbers which represent the 5 shots. Since you generate 10 different possibilities(1-10), the chance for each is 1/10= 10%. The chance for 1 to 8 is 80% .
C.
There is no information about the chance for the dart score, so this option won't simulate the situation accurately.
D.
This option is wrong. You generate 3 numbers which represent the 3 shots instead of 5.
Answer:

Step-by-step explanation:
Functions:
Functions have the following format:
y = f(x)
In which y is the output, x is the input, and f is the relation between them.
In this question:
The output is half of the input x. This means that:

X= 45, you would place 15 into y's place, which would give you x-15= 30... then you would add 15 to both sides, which would give you x=45<span />