In this question we will find output voltage of an operational amplifier....
Output voltage Vo = Ad Vd + Ac Vc
Where Ad = differential mode gain
Ac = common mode gain
Vd = differential voltage at the input of an opamp = Vi1 - Vi2
Vc = common mode input of opamp
Vc = (Vi1+ Vi2)/ 2