Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The factory is considering to buy one of the following three palletizing robots: Bumblebeel, Bumblebee2 and Bumblebee3. These palletizing robots will move along a

The factory is considering to buy one of the following three palletizing robots: Bumblebeel, Bumblebee2 and 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 

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

Step by Step Solution

3.41 Rating (160 Votes )

There are 3 Steps involved in it

Step: 1

It looks like you have an assignment to simulate the movement of three different robots with specified movement probabilities and determine which has ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Systems analysis and design

Authors: kenneth e. kendall, julie e. kendall

8th Edition

135094909, 013608916X, 9780135094907, 978-0136089162

More Books

Students also viewed these Programming questions

Question

What are the effectiveness measures of database design?

Answered: 1 week ago