Question: Probability & Python Programming Write a Python program to simulate customers entering the florist according to the below table. Run it for 10 days and

Probability & Python Programming

Write a Python program to simulate customers entering the florist according to the below table. Run it for 10 days and track the number of customers who by 1, 6, and 12 roses, and the number who buy 1, 2, and 3 gift cards. Do the numbers match what we would expect? Please provide indented code and comments so I can prepare for my exam. Thanks

Probability & Python Programming Write a Python program to simulate customers entering

Below given is the solution to the above questions.

the florist according to the below table. Run it for 10 days

and track the number of customers who by 1, 6, and 12

A florist has 100 customers a day, who buy some combination of roses and gift cards, with the number of customers given by the following table: 1 rose 6 roses 20 7 12 roses 10 13 gift card 40 2 gift cards 3 gift cards What is the marginal PMF of gift cards bought? Roses bought? What is the expected number of gift cards sold per customer? What is the expected number of gift cards sold per day? What is the expected number of roses sold per customer? What is the expected number of roses sold per day? Are the two PMF's independent? ME 10 O ME CU PR 1 0 Xpethed Aumbe ad enme s 59 LOO PME io PMEs Indo - Lto So A florist has 100 customers a day, who buy some combination of roses and gift cards, with the number of customers given by the following table: 1 rose 6 roses 20 7 12 roses 10 13 gift card 40 2 gift cards 3 gift cards What is the marginal PMF of gift cards bought? Roses bought? What is the expected number of gift cards sold per customer? What is the expected number of gift cards sold per day? What is the expected number of roses sold per customer? What is the expected number of roses sold per day? Are the two PMF's independent? ME 10 O ME CU PR 1 0 Xpethed Aumbe ad enme s 59 LOO PME io PMEs Indo - Lto So

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!