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...


Posting it 2nd time. Do no answer irrelevant. I will downvote directly. Need it asap


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

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•

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here