In the figure we have the way to implement the E (AND) function with two inputs, in the case of switches. The switches, in a practical application, can be replaced by sensors. The truth table for this function is:
A B O
0 0 0
0 1 0
1 0 0
1 1 1

In the figure we have the way to implement the E (AND) function with two inputs, in the case of switches. The switches, in a practical application, can be replaced by sensors. The truth table for this function is:
A B O
0 0 0
0 1 0
1 0 0
1 1 1