The factory is considering to buy one of the following three palletizing robots: Bumblebeel, Bumblebee2 and...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The factory is considering to buy one of the following three palletizing robots: Bumblebeel, Bumblebee2 and Bumblebee3. These palletizing robots will move along a lane that consists of 100 tiles in length and 5 tiles in width as shown in Figure 1. S Rowl Row2 Row3 Row4 Rowb Malfunction zone Malfunction zone 100 tiles Figure 1 Transportation lane The palletizing robots will travel from S to D. load some chocolates from D and then carry these chocolates back to S. This is named as a "round-trip". All three robots start from position Row when in S. The robots have some problems with their guiding software and therefore they do not move in a straight line. You have analyzed these defects and you have found out that: Bumblebeel no matter where it is located it would move straight with an 80% probability, with a 10% probability up and with a 10% probability down. Bumblebee2 if it is in row3 it moves with a 50% probability straight, 25% probability up and 25% probability down. In any other row than row3. Bumblebee2 moves towards row3 with a 50% probability, straight with a 40% probability and 10% probability to the opposite direction with respect to row 3. Bumblebee3 if it is in row3 it moves with a 20% probability straight, 40% probability up and 40% probability down. Bumblebee if it is in row 2 or row 1 it moves in any direction with the same probability. Bumblebee3 if it is in row 1 or row5 moves straight with a 30% probability, with a 60% probability towards D row 3 (that is to row2 if'in row 1 or to row4 il in row 5) and with a 10% probability towards the other direction. If the robot moves outside these 5 rows (row0 or row6) then it malfunctions. Write a Python program that simulates these three robots moving in this lane for 1 million times (1 million "round-trips" for each robot) and decide which robot would have the least malfunctions. Handing Procedure 1. Save You are required to submit only the Python source code of your program. nothing more. If you prepare a "production.csv file, please don't send it. Save your solutions as ProjectWonka.txt You can use the project template file provided on the course page. 2. Time and Collaboration Info At least 2, up to 4 people can do this assignment together. At the start of the file, in a comment, write down the total number of hours (roughly) you spent on the assignment. Do not forget! For example: # Willy Wonka Project # Collaborators Info: # Names: # # # IDs: #XXXXXXXX #XXXXXXXX #XXXXXXXX # Time Spent: h:mm # ... your code goes here... If you have any questions about the homework you are required to ask them through our Aybuzem forum. Good luck Ⓒ The factory is considering to buy one of the following three palletizing robots: Bumblebeel, Bumblebee2 and Bumblebee3. These palletizing robots will move along a lane that consists of 100 tiles in length and 5 tiles in width as shown in Figure 1. S Rowl Row2 Row3 Row4 Rowb Malfunction zone Malfunction zone 100 tiles Figure 1 Transportation lane The palletizing robots will travel from S to D. load some chocolates from D and then carry these chocolates back to S. This is named as a "round-trip". All three robots start from position Row when in S. The robots have some problems with their guiding software and therefore they do not move in a straight line. You have analyzed these defects and you have found out that: Bumblebeel no matter where it is located it would move straight with an 80% probability, with a 10% probability up and with a 10% probability down. Bumblebee2 if it is in row3 it moves with a 50% probability straight, 25% probability up and 25% probability down. In any other row than row3. Bumblebee2 moves towards row3 with a 50% probability, straight with a 40% probability and 10% probability to the opposite direction with respect to row 3. Bumblebee3 if it is in row3 it moves with a 20% probability straight, 40% probability up and 40% probability down. Bumblebee if it is in row 2 or row 1 it moves in any direction with the same probability. Bumblebee3 if it is in row 1 or row5 moves straight with a 30% probability, with a 60% probability towards D row 3 (that is to row2 if'in row 1 or to row4 il in row 5) and with a 10% probability towards the other direction. If the robot moves outside these 5 rows (row0 or row6) then it malfunctions. Write a Python program that simulates these three robots moving in this lane for 1 million times (1 million "round-trips" for each robot) and decide which robot would have the least malfunctions. Handing Procedure 1. Save You are required to submit only the Python source code of your program. nothing more. If you prepare a "production.csv file, please don't send it. Save your solutions as ProjectWonka.txt You can use the project template file provided on the course page. 2. Time and Collaboration Info At least 2, up to 4 people can do this assignment together. At the start of the file, in a comment, write down the total number of hours (roughly) you spent on the assignment. Do not forget! For example: # Willy Wonka Project # Collaborators Info: # Names: # # # IDs: #XXXXXXXX #XXXXXXXX #XXXXXXXX # Time Spent: h:mm # ... your code goes here... If you have any questions about the homework you are required to ask them through our Aybuzem forum. Good luck Ⓒ
Expert Answer:
Answer rating: 100% (QA)
It looks like you have an assignment to simulate the movement of three different robots with specified movement probabilities and determine which has ... View the full answer
Related Book For
Systems analysis and design
ISBN: 978-0136089162
8th Edition
Authors: kenneth e. kendall, julie e. kendall
Posted Date:
Students also viewed these programming questions
-
An investor is considering purchasing one of the following three stocks. Stock X has a market capitalization of $7 billion, pays a relatively high dividend with little increase in earnings, and has a...
-
You are going to add one of the following three projects to your already well-diversified portfolio. Assume the risk-free rate of return is 2% and the market risk premium is 8%. If you are a risk...
-
Mercil Corporation is going to buy one of the following two machines. Each machine meets the specifications for a particular task in the company. Mercils tax rate is 30 percent and its cost of...
-
Some will argue that KPMG inappropriately subordinated its judgments to Xerox preferences. How could accounting firms ensure that auditors do not subordinate their judgments to client preferences on...
-
Explain why the annual financing cost of secured credit is frequently higher than that of unsecured credit.
-
For which one of the following situations would Kend all's tau be appropriate? a) Comparing the ratings of a new product on a 5-point Likert scale by a panel of consumers to their ratings of a...
-
Go to the Internet and peruse the AICPA's "Catch Me If You Can" online fraud game.
-
Arrowbell Company is a growing company. Two years ago, it decided to expand in order to increase its production capacity. The company anticipates that the expansion program can be completed in...
-
CLO 1.1 Does the following situation describe an annuity? Cheryl pays for her son's day care at the beginning of every month. Her provider charges $35 for each day her son is scheduled to be there...
-
A receiver for base band digital data has a threshold set at instead of zero. Rederive (9.8), (9.9), and (9.11) taking this into account. If P(+A) = P(-A) = 1/2, find E b / N 0 in decibels as a...
-
in NY why it says It looks like you're not eligible for the Child and Dependent Care Credit. To claim childcare expenses, you both must have earned income from a job or self-employment in 2023. If...
-
Jayden and Ziad own four identical pizza shops in downtown Newark. Each shop has a debt-to- equity ratio of 35 percent and makes interest payments of $52,000 at the end of each year. The cost of the...
-
1. Find the domain of the following functions: f(x)=log(x-5x+6); (ii) g(x) = 8+2x-3x
-
On cold mornings, the probability that David's car won't start is 0.22. When it doesn't start, he takes the bus and is late for work. When it does start, he drives to work on the freeway. Sixty-five...
-
A total of 124 parents of pre-schoolers attend a charity event and 94 parents at the event complete the voluntary survey on preschooler educational needs you are analyzing. What is the size of the...
-
16. Find a formula for the inverse of the function. y = ex 1 + 7ex F-1(x) = -/2.5 points SCalc7 6.3.062. Find the inverse function. y = (In x)6 F-1(x) =
-
Assume that the First National Bank has the balance sheet shown below, the income gap is currently -$17.5 million, and that interest rates are initially at 10%. First National Bank Assets Duration...
-
When a company has a contract involving multiple performance obligations, how must the company recognize revenue?
-
Using the interview data you gained from the group exercise on Maverick Transport in Project 1, meet with your group to brainstorm the design of a questionnaire for the hundreds of truck drivers that...
-
Your systems analysis team is close to completing a system for Meecham Feeds. Roger is quite confident that the programs that he has written for Meechams inventory system will perform as necessary,...
-
What are the effectiveness measures of database design?
-
Consider the family of differential equations \(x^{\prime}=x^{3}+\delta x^{2}-\mu x\). a. Sketch a bifurcation diagram in the \(x \mu\)-plane for \(\delta=0\). b. Sketch a bifurcation diagram in the...
-
For each problem, determine equilibrium points, bifurcation points, and construct a bifurcation diagram. Discuss the different behaviors in each system. a. \(y^{\prime}=y-\mu y^{2}\) b....
-
Plot phase portraits for the Lienard system \[\begin{aligned} & x^{\prime}=y-\mu\left(x^{3}-x ight) \\ & y^{\prime}=-x \end{aligned}\] for a small and a not so small value of \(\mu\). Describe what...
Study smarter with the SolutionInn App