Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Below given is the solution to the above questions.
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 SoStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started