Three logic gates are connected as shown in the figure. If the inputs are \( A = 1 \) and \( B = 1 \), then the values of \( y_1 \) and \( y_2 \) respectively are:
Sliding contact of a potentiometer is in the middle of the potentiometer wire having resistance \( R_p = 1 \, \Omega \) as shown in the figure. An external resistance of \( R_e = 2 \, \Omega \) is connected via the sliding contact.
The current \( i \) is :