How do I solve this?
Part B has only one decoder.
Part C has only one multiplexer.
Design a safe alarm system. The alarm system has five inputs and two outputs. The inputs consist of: Infrared sensor (R) - detects movements in the safe. If any movement is detected, then R will be 1; otherwise, 0. Tactile sensor (D) at the door - if the door opens, then D will be 1; otherwise, 0. Heat sensor (H) - if the temperature rises 3 or more degrees above normal, then H will be 1; otherwise, 0. On/off activate switch (S) - if the alarm switch is activated, then S will be 1; otherwise, 0. Police network connection (N) - if the alarm is connected to the police station, then N will be 0; otherwise, 1.
1. Construct the truth table (10 points)
The outputs consist of: Alarm activated (A) - if switch S is activated and (door opens D or (both movement R and heat H are detected)), then A will be 1; otherwise, 0. Send police message (M) - if alarm A is activated and the alarm is connected to police station N, then M will be 1; otherwise, 0.
b. Draw the circuit of A and M using only one 4x16 Decoder and one OR gate and one AND gate. (10 points)
Draw the circuit of A and M using only one 8x1 Multiplexer with one AND gate. (10 points)