An elevator in a three-story building services floors 1, 2, and 3. Input consists of a signal to the elevator of an up-or-down request (U or D) together with the floor from which the signal originates. The elevator responds to an input signal by moving to the correct floor. For example, when the elevator is on floor 1 and receives a D-3 signal, it moves to floor 3. Draw a state graph for a finite-state machine that describes the elevator behavior.
Step 11 of 4
Let us define the state of the finite-state machine as:
=Elevator is on floor 1
=Elevator is on floor 2
=Elevator is on floor 3
When we are on floor 1, then we can only request to move up and thus the only possible request from floor 1 is .
If the elevator was at floor 2, then the elevator needs to move to floor 1 and thus we require an arc from state to state with label .
If the elevator was at floor 3, then the elevator needs to move to floor 1 and thus we require an arc from state to state with label .
Recommended textbook solutions
A small conducting spherical shell with inner radius a and outer radius b is concentric with a larger conducting spherical shell with inner radius c and outer radius d. The inner shell has total charge +2q, and the outer shell has charge +4q. (a) Calculate the electric field (magnitude and direction) in terms of q and the distance r from the common center of the two shells for (i) r < a; (ii) a < r < b; (iii) b < r < c; (iv) c < r < d; (v) r > d. Graph the radial component of as a function of r. (b) What is the total charge on the (i) inner surface of the small shell; (ii) outer surface of the small shell; (iii) inner surface of the large shell; (iv) outer surface of the large shell?
A thin spherical shell with radius is con-centric with a larger thin spherical shell with radius . Both shells are made of insulating material. The smaller shell has charge distributed uniformly over its surface, and the larger shell has charge distributed uniformly over its surface. Take the electric potential to be zero at an infinite distance from both shells. (a) What is the electric potential due to the two shells at the following distance from their common center: (i) r = 0; (ii) r = 4.00 cm; (iii) r = 6.00 cm? (b) What is the magnitude of the potential difference between the surfaces of the two shells? Which shell is at higher potential: the inner shell or the outer shell?