Posting it 2nd time. Do no answer irrelevant. I will downvote directly. Need it asap
Extracted text: Two products are sold from a vending machine, which has two push buttons P, and P,. When a button is pressed, the price of the corresponding product is displayed in a 7-segment 2' display. If no buttons are pressed, '0' is displayed, signifying 0' If only P, is pressed, '2' is displayed, signifying 7 2' If only P, is pressed, '5' is displayed, signifying 7 5' If both P, and P, are pressed, 'E is displayed, signifying 'Error' The names of the segments in the 7-segment display, and the glow of the display for '0', '2', '5' 1 2 2 and 'E are shown below. a 2 E f b e C Consider: (i) push button pressed/not pressed is equivalent to logic 1/0 respectively, (ii) a segment gliowing/not glowing in the display is equivalent to logic 1/0 respectively If segments a to g are considered as functions of P, and P,, then FIND THE EQ FOR g•