Imagine you were in a line for a bakery store. given your position in line, I want to find out if I am able to get a chocolate cake when it comes to my turn. If there are no chocolate cakes left I might buy something else. I want to know what is the probability of mr getting a certain product within a time period based on my position on a line. similarly to this situation with the bakery I want to use the same concept to make a code such that given my number on a line, I am assigned a certain time of day to log onto my computer and pick my next semesters housing. Based on my number which correlates directly to the time of day I can pick I want to know what is the probability I would get a certain Housing space. Some housing places are more demanded than others. For example a lot of people may like chocolate cake over vanilla cake. I want to see what the probability is for me to get a chocolate cake when It is my turn to pick. Or what is the probability of me getting a vanilla cake given my position on line. I have data that I can use for the project, I just want you to write a code in python that could calculate the probability of something happening given my place on a line. You could make up your own data and I can change it with my own data later on but I just want the general concept or algorithm. THIS CODE NEEDS TO BE IN PYTHON. IF YOU HAVE ANY QUESTIONS PLEASE RESPOND
Imagine you were in a line for a bakery store. given your position in line, I want to find out if I am able to get a chocolate cake when it comes to my turn. If there are no chocolate cakes left I might buy something else. I want to know what is the probability of mr getting a certain product within a time period based on my position on a line. similarly to this situation with the bakery I want to use the same concept to make a code such that given my number on a line, I am assigned a certain time of day to log onto my computer and pick my next semesters housing. Based on my number which correlates directly to the time of day I can pick I want to know what is the probability I would get a certain Housing space. Some housing places are more demanded than others. For example a lot of people may like chocolate cake over vanilla cake. I want to see what the probability is for me to get a chocolate cake when It is my turn to pick. Or what is the probability of me getting a vanilla cake given my position on line. I have data that I can use for the project, I just want you to write a code in python that could calculate the probability of something happening given my place on a line. You could make up your own data and I can change it with my own data later on but I just want the general concept or algorithm. THIS CODE NEEDS TO BE IN PYTHON. IF YOU HAVE ANY QUESTIONS PLEASE RESPOND
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Imagine you were in a line for a bakery store. given your position in line, I want to find out if I am able to get a chocolate cake when it comes to my turn. If there are no chocolate cakes left I might buy something else. I want to know what is the probability of mr getting a certain product within a time period based on my position on a line.
similarly to this situation with the bakery I want to use the same concept to make a code such that given my number on a line, I am assigned a certain time of day to log onto my computer and pick my next semesters housing. Based on my number which correlates directly to the time of day I can pick I want to know what is the probability I would get a certain Housing space. Some housing places are more demanded than others. For example a lot of people may like chocolate cake over vanilla cake. I want to see what the probability is for me to get a chocolate cake when It is my turn to pick. Or what is the probability of me getting a vanilla cake given my position on line. I have data that I can use for the project, I just want you to write a code in python that could calculate the probability of something happening given my place on a line. You could make up your own data and I can change it with my own data later on but I just want the general concept or algorithm .
THIS CODE NEEDS TO BE IN PYTHON. IF YOU HAVE ANY QUESTIONS PLEASE RESPOND
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY