asked 26.4k views
2 votes
Describe how to use a random number generator to simulate the following performances

a) A basketball player has the ability to make 40% of his shots and takes 25 shots in one game.

b) A basketball player has the ability to make 75.2% of her free throw shots and she takes 8 free throws in a game.

asked
User Nuway
by
7.7k points

1 Answer

7 votes

Answer:

random number generators return numbers from 0 to 1...

a) generate 25 random numbers if the number x is ≤ .4 he makes the shot

otherwise he misses

a) generate 8 random numbers if the number x is ≤ .752 she makes the shot otherwise it is a miss

otherwise he misses

Explanation:

answered
User Adrian Dunston
by
8.9k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.