The State Machine Diagrams are a graphical representation that is used in the modeling of dynamic systems. The system modeling using a state machine diagram incorporates a representation of how the event driven system changes and the various states of the elements (Unhelkar, 2017) . Also, the SMD is used in the implementation of interactive systems and display the state triggered changes in the system.
The implementation of a body temperature scanner that automatically opens a sliding door when the temperature is below 37 0 C can be modeled using an SMD. The system begins by the user presenting their arm for temperature measurement. The arm is then sensed using proximity sensors. After the system sensing the arm, it validates the temperature. The sliding door only opens after the validation that the temperature is below 37 0 C. The system in itself constitutes two systems. One system senses the presence of an arm and the second one validates the condition of the temperature recorded on the arm. As a result, the door state change from closed to open is the two input conditions are met.
Delegate your assignment to our experts and they will do the rest.
The implementation of a body temperature scanner that automatically opens a sliding door when the temperature is below 37 0 C can also be represented using SMD to have two input conditions and one output state as follows.
The sequence diagram, on the other hand, shows the sequence in which the activities occur. It does not detail the event triggered by elements in a different state. As such, one cannot capture how a multiple input stage acts on an element to produce an output state.
References
Unhelkar, B. (2017). Software Engineering with UML (pp. 10-200). CRC Press.