Question 2.
There are only two buttons inside an elevator in a building with 50 floors. The elevator goes 11 floors up if the first button is pressed and 6 floors down if the second button is pressed. Using dynamic programming methods to answer the following questions. Is it possible to get from floor 27 to floor 29? (5 points) What is the minimum number of buttons one has to press to do so? (10 points) What is the shortest time one needs to get from floor 27 to floor 29 (time is proportional to the number of floors that are passed on the way)? (10 points)
Question 2. There are only two buttons inside an elevator in a building with 50 floors....
An elevator in a commercial building has 52 floors, and takes approximately 0.82 seconds to travel between any of two consecutive floor numbers. Suppose that you are on any floor and do not know where the elevator currently is located the moment that you press the elevator button, and X represent the random variable for the amount of time that you have to wait for the elevator. What is the probability that you have to wait (round to 4 decimal...
Design an elevator control which takes floor number (0, 1, 2, and 3) as input and outputs the direction of movement of the elevator (up (1), down(0), stay (2)) and the number of floors to move. Floors: 0, 1, 2, 3 (Ground, First, Second, Third) Input: Press the floor to move to button (0, 1, 2, 3) . o Present State- Current Floor o Next State Next Floor i.e., floor to move to Outputl up/down/stay (1/0/2) Output2 Floors to move...
Write a C++ computer program that simulates the action of an elevator that is out of order. After simulating the motion of the elevator, your program will display a bar chart that shows the number of times the elevator stays on each floor of a twenty-five-story building. When you arrive on the scene to begin studying the elevator, it is on the twelfth floor of the twenty-five-story building. Every five minutes the elevator either moves up one floor or down...
Homework #5 - Elevator Simulation - Doubly Linked List The program needs to use a doubly linked list. Homework #5 - Extra Credit Elevator Simulation Algorithm We are going to develop an algorithm and implement in C++ to simulate a single elevator in a 10-story building. There will be some simplifying assumptions that will make this a bit less complex than a real-world implementation. The number of floors is not important, nor is the number of people getting on or...
Solve it for java
Question Remember: You will need to read this assignment many times to understand all the details of the you need to write. program Goal: The purp0se of this assignment is to write a Java program that models an elevator, where the elevator itself is a stack of people on the elevator and people wait in queues on each floor to get on the elevator. Scenario: A hospital in a block of old buildings has a nearly-antique...
I NEED THE CODE FOR PART 2-MATH MODELING CLASS USING MATH LAB in thrve posed elevator problem, your assistant notified you that there are 60 workers operating on each of 5 floors atop the ground floor in your office building - 300 in total. The elevator occupancy is 10 people, and there are 3 elevators in total. In the worst-case scenario in terms of total transition time, on each elevator ride at least one person is getting off at each...
OPERATIONS MANAGEMENT
Question
A) With the aid of examples, provide a discussion of any
2 hospitals of your choice that compete on different competitive
strategies. Your response should indicate what strategy each
hospital implements and justify your assertions. (20
marks)
SECTION A Read the case study below and answer the questions that follow. Arnold Palmer Hospital The Arnold Palmer Hospital (APH) in Orlando, Florida, is one of the busiest and most respected hospitals for the medical treatment of children and...
Washington Post Artiele Dec 10, 2018-Walmart's latest hire: Robotic janitors that elean floors and collect data The Auto-C, powered by BrainOS, joins Walmarts technology ecosystem. By Ester HolleyWalmart's latest custodial tool may look like a mini Zamboni, but it's more like a Roomba, the robotic sweeper sliding across floors worldwide.This week, the big-box retailer announced plans to place 360 autonomous robots inside Their job: scrubbing the store's expansive aisles and collecting data in the process.The robot custodians are powered by...
1 Objective The rules for a new type of programming contest provides a list of problems, their respective score in integer points, and a statistically valid estimate of the time it takes to solve the problem. This duration or time is expressed in integer hours. To help with a solution strategy the contest organizers reveal there is a dynamic programming solution enabling all the contestants to maximize their score - and stay within the time limits for the contest. One...
In this lab you will convert lab5.py to use object oriented
programming techniques. The createList and checkList functions in
lab5.py become methods of the MagicList class, and the main
function of lab6.py calls methods of the MagicList class to let the
user play the guessing game.
A. (4pts) Use IDLE to create a lab6.py. Change the 2 comment
lines at the top of lab6.py file:
First line: your full name
Second line: a short description of what the program...