Design a variable-gain analog amplifier. The analog input is Vin, the 3-bit digital inputs (connected to a microcomputer output digital output) are B2, B1, B0, and the analog output is Vout. Exactly one of the digital inputs will be 1, and the gain should be