// Exa 2.28 clc; clear; close; format('v',6) // Given data Vout = -0.7;// in V V = -12;// in V // The output voltage V_R =V-Vout;// in V disp(V_R,"The output voltage in V is");