Calculate Output Voltage and Voltage Gain