Suppose there are 3 sensors that send a binary 0 or 1. Design a function that receives 1 if at least 2 of the sensors send 1. Provide:
a. The Boolean expression for the function
b. The truth table for the function
c. The simplified Boolean expression using Karnaugh map
d. The implementation code in a programming language